print statement in python 3 code example

Example 1: how to print something in python

print("whatever you want to print")

Example 2: python print

# This is a print statement
print("Hello, world!")

Example 3: print() in python

print('hi, baby!')

Example 4: how to print in python

#('') a string, to indicate it is a string you can use ("") or ('')
print("hello world")
#a integer 
print(19)
# a float:
print(4.5)
# a bool:
print (True)
print (False)

Example 5: print in python

# the print commmand will write anything in your out put box
print("hello world")