different use of print function in python code example
Example 1: how to use print in python
string_to_print = "Hello World"
print(string_to_print)
Example 2: what is print in python
A print funtion is a way to print data in the console
use:
print("Hello World")
x = "Hello World"
print(x)
x = 5 + 5
print(str(x))