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#try it :)
2print("Hello, world!")
3
4#or
5
6#you can print variable
7name = "Harry"
8print(name)
9
10
11name = "Harry";print(name) #all on the same line