String Looping


#1

for letter in "Codecademy":
print letter

Empty lines to make the output pretty

print
print

word = "Programming is fun!"

for letter in word:
# Only print out the letter i
if letter == "i":
print letter
the console print m,y.Please i need explanation for print: m, y.


#2

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