+ 1
Why is end keyword used in python?[solved]
8 odpowiedzi
+ 5
'''
print(value, ..., sep=' ', end='\n', file=sys.stdout, flush=False)
'''
this is the complete print function😀
+ 4
before the outputs are flushed, they're temporarily stored and print out altogether at last, but if you set flush True, all stored will be forced to print out immediately😀
+ 2
i found the answer, usually print statement adds \n by default so we get prints in next line using end=" " or end=' ' within print statements we can get statements printed in same line
+ 1
Awesome! Since you've answered your own question, you might want to consider labeling it as [Solved] in the title. It'd help us reach others faster. Thank you!
+ 1
what means flush?
+ 1
just edit your post😂
+ 1
ok 😂
0
how to label it as solved??