You are viewing a single comment's thread. Return to all comments →
I did write my code like this. but it did'nt work.
So I had to print as seperate.
why this sep keyword use...
"sep" means separator.
In this case sep='\n' means that two numbers are separated by end of line character. In other words, second number will be printed on a new line
seperate does not work in case of a integer
I dont think that is correct. However, sep does not work in Python 2
This is a Python 3 solytion. You need to check "Python 3" in this box:
Print does not have a sep argument in Python 2.