print("Tell me your name : ", end=' ')
name = input()
Putting an end=' ' tells print not to end the line with a newline character
The output will be like
Tell me your name : <name>
name = input()
Putting an end=' ' tells print not to end the line with a newline character
The output will be like
Tell me your name : <name>
No comments:
Post a Comment