1variable1 = "value" # string
2variable2 = 1000000 # integer
3variable3 = 10000.0 # real/float
4variable4 = True # boolean: True or False
1
2x = 7 #sets int as x
3
4y = "John"# sets the string as y
5
6print(x)#prints x
7
8print(y)# prints y
1myVar = "Hello this is a variable!")
2print(myVar)
3# Prints "Hello this is a variable!"