1/5 String Looping: Just by curiosity why are there 2x print?


For the sake of understanding the why of what, I would love to have someone explain why "print" is written twice.
I tried deleted one and it printed exactly the same result.

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


Just a print statement with no arguments should print a new line


Thank you for this explanation