As simple as that:
word = input("Enter a word: ")
print("***")
for letter in word:
print(letter)
print("***")
More Related Contents:
- Can we Write For loop as a function?
- Finding the number of times characters from text1 occur in text2
- Python single line for loops [duplicate]
- One line recursive loop in python
- How to iterate through two lists in parallel?
- Python for-in loop preceded by a variable
- Scope of python variable in for loop
- What is the most efficient way to loop through dataframes with pandas?
- How can I iterate through two lists in parallel?
- Avoiding nested for loops
- Nested For Loops Using List Comprehension
- Function with varying number of For Loops (python)
- How does a Python for loop with iterable work?
- Python: How to keep repeating a program until a specific input is obtained? [duplicate]
- How do I iterate through two lists in parallel?
- How to frame two for loops in list comprehension python
- Pythonic way to combine for-loop and if-statement
- Python lambda doesn’t remember argument in for loop [duplicate]
- Creating a list of dictionaries with same keys? [duplicate]
- Understanding for loops in Python
- Using a loop to create and assign multiple variables (Python) [duplicate]
- Why do I get an IndexError (or TypeError, or just wrong results) from “ar[i]” inside “for i in ar”?
- Script skips second for loop when reading a file
- How do I annotate types in a for-loop?
- interleaving 2 lists of unequal lengths [duplicate]
- for loops and iterating through lists – how does “for a[-1] in a:” work?
- What is the meaning of list[:] in this code? [duplicate]
- Redo for loop iteration in Python
- List append() in for loop raises exception: ‘NoneType’ object has no attribute ‘append’ [duplicate]
- Using a loop in Python to name variables [duplicate]