python3 linux print code example
Example 1: print 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}!")
Example 2: python printing
Print("Hello") Print("World") #Output: Hello World!
print(5+5) # Output:10
x=10
y=11
print(x+y) #Output: 21