Answers for "print space before value in python"

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