Akhil Narayanan Nair home

Python - Input and Print with Sep

================

’'’Hello to you! Illustrates sep with empty string in print.’’’

person = input(‘Enter your name: ‘)

print(‘Hello ‘, person, ‘!’, sep=’ ‘)

person = input(‘Enter your name: ‘)

print(‘Hello ‘, person, ‘!’, sep=’*’)