How do you prevent a python print() function to print a new line at the end?

amannarayanm · September 23, 2021 · Python
#  Before using technique for print function

print("Jai Shree Ram")
print("Jai Shree Ram")

#  After using technique for print function

print("jai Shree Krishna",end=" ")
print("Jai Shree Krishna")

Comments

Please sign up or log in to contribute to the discussion.