for loop prints each letter of the word 'banana' on a separate line.

PHOTO EMBED

Thu Sep 22 2022 00:59:08 GMT+0000 (Coordinated Universal Time)

Saved by @L0uJ1rky45M #python

fruit = "banana"
for char in fruit:
    print(char)

#output
b
a
n
a
n
a
content_copyCOPY

https://www.py4e.com/html3/06-strings