Python Introducing Lists Using Lists Continental

arielp
arielp
2,326 Points

continents

this is getting really frustrating. I can run this code on my text editor and an IDE also and it runs fine:

continents = [ 'Asia', 'South America', 'North America', 'Africa', 'Europe', 'Antarctica', 'Australia' ]

for continent in continents: if continent[0] == "A": print(continent)

but for some reason, the online interpreter is not happy with it??

1 Answer

arielp
arielp
2,326 Points

omg my text is all over the place again.... nevermind