Add py/Loops/task5.py
This commit is contained in:
parent
ea7fa38429
commit
a03e114459
1 changed files with 6 additions and 0 deletions
6
py/Loops/task5.py
Normal file
6
py/Loops/task5.py
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# Define the word
|
||||||
|
word = "Banana"
|
||||||
|
|
||||||
|
# Loop through each letter in the word
|
||||||
|
for letter in word:
|
||||||
|
print(letter) # Print the current letter
|
Loading…
Add table
Reference in a new issue