Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to remove new line in python

# add end parameter to avoid new line
print("Hello World ", end="")
print("Welcome to Guru99 Tutorials")

# output :
# Hello World Welcome to Guru99 Tutorials
Source by www.guru99.com #
 
PREVIOUS NEXT
Tagged: #remove #line #python
ADD COMMENT
Topic
Name
1+7 =