can someone tell me what is wrong with my code?!!
def make_list(number):
names =[]
for item in range(0,number):
names.append(input("Enter your name"))
print(names)
number = int(input("How many names need to be entered?"))
names = make_list(number)
for name in names:
if name[0] == "A":
print("Name", name)