with python; Write a program that asks the user to enter a string, then prints out each letter of the string doubled and on a separate line.
Answers
Answered by
1
Explanation:
While you can use the \n escape character to put a newline into a string, it is often easier to use multiline strings. A multiline string in Python begins and ends with either three single quotes or three double quotes. Any quotes, tabs, or newlines in between the “triple quotes” are considered part of the string.
please mark brain list
Answered by
5
Explanation:
m=input ("enter string")
for i in m:
print(i*2)
Similar questions