Answer the question
In order to leave comments, you need to log in
How to remove space in print string in Python?
There is a code:
name = input("What is your name?")
print("Hi,", name,"!")
When it is executed, after entering Dima's name (for example), the phrase "Hi, Dima!"
How to remove the space between a word and an exclamation mark? There is no space in the code.
Thanks in advance, I always choose Answer-solution.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question