0
Why a new line forms, every time i call print() function in python?
Check the program below: Code: print("Hello") print("User") Output: Hello User Why not, Output: "Hello User" ?
4 Respostas
+ 2
Try using end
Code:
print("Hello", end=" ")
print("User")
Output:
"Hello User"
+ 3
print() function break line once its a default behaviour ,
+ 1
Thank u both for immediate help🖒