Daron Anderson1,967 Points
Need insight on how to Print out all the continents that start with an 'A'. the square brackets & parens. confuse me.
"There has to be one and only one obvious way to solve it" Thanks in Advance!!!
continents = [ 'Asia', 'South America', 'North America', 'Africa', 'Europe', 'Antarctica', 'Australia', ] # Your code here for continent in continents: print ("* " + continent)
Nils Kriedner17,071 Points
you need to use an IF statement before the print command in this second task of the challenge.
So... IF the first letter of the word is equal to "A" then - next line - print etc.
To check the first letter you need to index the first letter of the string.
Does that help a bit? Otherwhise I could write more tomorrow, need to go to bed now...