print each character in a string python code example
Example 1: how to loop through string in python
for i in "Hello":
print(i)
Example 2: print string letter by letter python
# Python program to Print Characters in a String
str1 = input("Please Enter your Own String : ")
for i in range(len(str1)):
print("The Character at %d Index Position = %c" %(i, str1[i]))