Ronald Greer35,843 Points
What's going on with my code?
i am on task 1/1 and i keep getting errors for stuff i have done
continents = [ 'Asia', 'South America', 'North America', 'Africa', 'Europe', 'Antarctica', 'Australia', ] # Your code here print("continents:") for continents in continents: print("* " + continents)
Steven Parker176,583 Points
You didn't say what errors you are getting, but at first glance I noticed this:
for continents in continents:
You can't use the same variable name for both the loop variable and the iterable.