Botshelo Tsogo Tiroyamodimo3,055 Points
Error on my for loop for numbers that start with A
I cant get my code to work, it says my second line has an error
continents = [ 'Asia', 'South America', 'North America', 'Africa', 'Europe', 'Antarctica', 'Australia', ] for continent in continents: if continents == 'A': print(continent)
Steven Parker182,590 Points
You need to check the first letter of the loop variable (the singular name) instead of the list (plural name).
Also, the names are supposed to be printed with a "bullet" (asterisk) in front.