Strings
name = "John"
print("Hi my name is " + name)
age = 50
print("my age is ", age)
nameTheo = True
nameJohn = False
print("Theo\nHuntalas")
print("Theo\"Huntalas")
name = "Theo"
truePhrase = " is cool"
print(name + truePhrase)
phrase = "hello"
print(phrase.upper())
phrase = "HELLO"
print(phrase.lower().islower())
phrase = "HELLO"
print(len(phrase))
phrase = "Theo"
print(phrase[2])
userName = input("Please enter your name")
userAge = input("What is your age")
print("Hi " + userName + "!" + "\nYour age is " + userAge)
num1 = input("Number 1?")
num2 = input("Number 2?")
userOp = input("+ for add, - for subtract, / for divide, * for multiply")
if userOp == "+":
print(num1,"plus",num2,"is",int(num1) + int(num2))
if userOp == "-":
print(num1,"minus",num2,"is",int(num1) - int(num2))
if userOp == "*":
print(num1,"times",num2,"is",int(num1) * int(num2))
if userOp == "/":
print(num1,"divided by",num2,"is",int(num1) / int(num2))
import random
randomNum = random.randint(0,100)
print("Guess the random number")