Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

print in python

# Simple Print:
print("Hello World!")

# Formatting message in python3.6- :
name = "World"
print("Hello {}!".format(name))

# Formatting message in python3.7+ :
name = "World"
print(f"Hello {name}!")
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #print #python
ADD COMMENT
Topic
Name
8+1 =