Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to not create a new line in python

#To print without a new line in Python 3 add an extra 
#argument to your print function telling the program that you
#don't want your next string to be on a new line. Here's an example:

print("Hello world!", end="")
 
PREVIOUS NEXT
Tagged: #create #line #python
ADD COMMENT
Topic
Name
2+2 =