how to print every character in a string python code example
Example 1: python print every character in list as string
def list_to_string(s):
new = ""
for x in s:
new += x
return new
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]))