By default, print()
function will print the string with a new line. In order to print without new line, change the end
parameter to empty string.
#!/usr/bin/python3 # Description: How to print without newline. print("There is no newline. ", end="") print("This is the second line.")