I tried this but I can't.
I want to add "pp" string in front of every character of input.
x=str(input("give me the characters"))
print("pp"+x[0]+"pp"+x[1]+"sa"+x[3])
I tried this but I can't.
I want to add "pp" string in front of every character of input.
x=str(input("give me the characters"))
print("pp"+x[0]+"pp"+x[1]+"sa"+x[3])
You can use
str.jointo addpp. For example:Prints: