String Looping


for letter in "Codecademy":
print letter

Empty lines to make the output pretty


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.


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