0
Help. Having problem with print
print ("What is your name?“ name = sys.stdin.readline() print ("Hello", name.capitalize) It shows me ('Hello', 'Paul\n') Is there no way it can print it without the " \n ", " ' " and " , " ?
1 ответ
0
Of cus it's python.. And it worked
I imported sys at the start of the code... Buh don't worry, I've gotten a solution
Instead of
~print("Hello", name.capitalize)
I did
~print("Hello" + name.capitalize)
And it gave me
>Hello Paul