1# To print a string...
2print("I am a string yay")
3
4# To print an answer to an equation...
5print(5+5)
6
7# To print the answer of previously defined variables...
8x = 50
9n = 30
10print(x + n)
11
12# Notes:
13# You can't add a string to a number.
14x = "foo"
15n = 50
16print(x + n)
17# That will come up with an error.
1#Normal:#
2print("Hiya Grepper!") #Output: Hiya Grepper!#
3#As Equation:#
4print(1+1) #Output: 2#
5#With String Variables:#
6x = 'Pog'
7print(x + 'Champ') #Output: PogChamp#
8#With Integer Variables:#
9y = 9999
10z = str(y)
11print('You have ' + z + ' IQ') #Output: You have 9999 IQ#
12#NOTE: Not converting the int variable to a str variable will return an error#
1x = 10
2y = 5
3print(x) # 10
4print("x is ",x) # x is 10
5print(x,y) # 10 5
6print("sum of", x, "and", y, "is", x+y) # sum of 10 and 5 is 15
7mCar = "A"
8print(mCar * y) # AAAAA
1# Rainy Day
2wet = 'umbrella'
3print(wet)
4# Sunny Day
5hot = 'sunglasses'
6print(hot)
1print("Hello, World!") #Output: Hello, World!
2
3print(5+5) # Output:10
4
5x=10
6y=11
7print(x+y) #Output: 21