0

How to remove printed spaces in Python?

N = input('What is your name? \n') print() print('My name is', N, '.') print('\n Hi,', N, "!") Been experimentin' a bit in Python... How do I get rid of the printed spaces before the "." and the "!" in the printed outputs? Thanks.

17th May 2017, 7:44 AM
Melt Louw
1 Respuesta