Your first Experience! print()

Example

In [10]:
# Print Hello, World!  -> use "" , when you want to print a sting (words and sentences)

print("Hello, World!")
Hello, World!

Example

In [5]:
# Print a number, for example 4

print(4)
4

Example

In [8]:
# Print x -> here x is a variable and contains 3 -> a variable is like a container

x = 3
print(x)
3

Example

In [9]:
# Print x -> here x is a variable and contains a string (Hello, World!) -> a variable is like a container

x = "Hello, World!"
print(x)
Hello, World!

Example

In [14]:
a = 3

b = 2

c = a * b 

print(c)
6

Example

In [18]:
# print Try 3 times

m = "Try"
n = 3

k = m * n

print(k)
TryTryTry