Answers for "print a space in python"

1

how to print without space in python 3

>>> print("a","b","c")
a b c
>>> print("a","b","c",sep="")
abc
Posted by: Guest on April-28-2020
0

end python print with space

print('G','F', sep='', end='')
print('G')
#n provides new line after printing the year
print('09','12','2016', sep='-', end='n')
 
print('prtk','agarwal', sep='', end='@')
print('geeksforgeeks')


Output:
GFG
09-12-2016
prtkagarwal@geeksforgeeks
Posted by: Guest on June-22-2021

Python Answers by Framework

Browse Popular Code Answers by Language