May-23-2020, 09:00 AM
Hi,
Is there any way to print single string multiple tiles in same line and separated by dilimiter:
Is there any way to print single string multiple tiles in same line and separated by dilimiter:
print(*range(5), sep=", ") ## this is working s = 'abcd' print(s*2) ## this is working print((s*2),sep=' and ') ## this is not working