Dec-27-2017, 03:40 AM
Hi,
i'm executing below 2 lines in Pycharm
print("+", sep=" ", end=" ")
print("-", sep=" ", end=" ")
I got the output like this
+ -
My question is,if we are executing print functions twice why it is coming in one line. with my knowledge it should be in next line.
can anyone tell me how it is executed in one line
Thanks in advance
i'm executing below 2 lines in Pycharm
print("+", sep=" ", end=" ")
print("-", sep=" ", end=" ")
I got the output like this
+ -
My question is,if we are executing print functions twice why it is coming in one line. with my knowledge it should be in next line.
can anyone tell me how it is executed in one line
Thanks in advance