# followed Brant's example from slide 15 of Session 2 pdf
x = 9
y = 3

# Arithematic Operators
print(x+y)	# Addition
print(x-y)  # Substraction
print(x*y)	# Multiplication
print(x/y)	# Division
print(x%y)	# Modulus
print(x**y)	# Exponentiation
x = 9.191823
print("Floor divide: ", x//y)
print("Modulo: ", x%y)

#assignment operators
x = 9 	# set x = 9
x += 3 	# x = x + 3
print(x) 

x = 9
x -= 3 	# x = x - 3
print(x)

x *= 3 	# x = x * 3
print(x)

x /= 3 	# x = x / 3
print(x)

x **= 3 	# x = x ** 3
print(x)

# Comparison Operator

x = 9
y = 3
print("Does x==y? ", x==y)
print("Does x!=y? ", x!=y)
print("Is x>y? ", x>y)
print("Is x<y? ", x<y)
print("Is x>=y? ", x>=y)
print("Is x<=y? ", x<=y)

# followed Brant's example from slide 15 of Session 2 pdf
x = 9
y = 3

# Arithematic Operators
print(x+y)	# Addition
print(x-y)  # Substraction
print(x*y)	# Multiplication
print(x/y)	# Division
print(x%y)	# Modulus
print(x**y)	# Exponentiation
x = 9.191823
print("Floor divide: ", x//y)
print("Modulo: ", x%y)

#assignment operators
x = 9 	# set x = 9
x += 3 	# x = x + 3
print(x) 

x = 9
x -= 3 	# x = x - 3
print(x)

x *= 3 	# x = x * 3
print(x)

x /= 3 	# x = x / 3
print(x)

x **= 3 	# x = x ** 3
print(x)

# Comparison Operator

x = 9
y = 3
print("Does x==y? ", x==y)
print("Does x!=y? ", x!=y)
print("Is x>y? ", x>y)
print("Is x<y? ", x<y)
print("Is x>=y? ", x>=y)
print("Is x<=y? ", x<=y)

# followed Brant's example from slide 15 of Session 2 pdf # Arithematic Operators # Addition # Substraction # Multiplication # Division # Modulus # Exponentiation #assignment operators # set x = 9 # x = x + 3 # x = x - 3 # x = x * 3 # x = x / 3 # x = x ** 3 # Comparison Operator