Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python using end keyword

# print each statement on a new line
print("Python")
print("is easy to learn.")

# new line
print()

# print both the statements on a single line
print("Python", end=" ")
print("is easy to learn.")
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #python #keyword
ADD COMMENT
Topic
Name
9+3 =