BeFOR We Begin 1


#1


https://www.codecademy.com/courses/python-beginner-en-IZ9Ra/0/1?curriculum_id=4f89dab3d788890003000096#

Okay so I am having trouble with this exercise. I am not really good at coding and i dont catch on quickly so this might be a simple mistake I didn't realize. Anyways I dont have any idea whats wrong with my code. I don't know what I should put into the [] int he for loop. Heres the code.


names = ["Adam","Alex","Mariah","Martine","Columbus"]

for names in [names]:
    print names


#2

Try removing the [ ] around names in your loop :grinning:


#3

Ok tysm for your feedback!!!!


#4

You are very close! in the for loop you don't need the brackets, you can just call the variable which is names. To avoid confusion I wouldn't use for names in names I would use something like for items in names or for person in names, but if you really want you can stick with names in names.


#5

tysm I appreciate the feedback!


#6

Happy to help :relieved:


#7

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.