#Arthemetic Operators
num1 = 40
num2 = 60
print('num1 + num2 =', num1+num2)
print('num1 - num2 =', num1-num2)
print('num1 * num2 =', num1*num2)
print('num1 / num2 =', num1/num2)
print(" 5 ^ 4 =", 5**4)
print('5 % 4 =', 5%4)
print('5//4 =', 5//4)

num3 = num1 + num2
print(num3)
num3 += num2
print(num3)
num3 /= num2
print(num3)
num3 %= num1
print(num3)

#Comparison Operators
print('is num2 > num3 ?', num2>num3)
print('is num3 = num3 ?', num3==num3)
print('is num2 != num1 ?', num2!=num1)
print('is num3 = num2 ?', num3==num2)

#Logical Operators
x = 5
print(x > 3 and x < 7 )
print(x > 5 or x < 3 )
print(not(x > 7 and x < 3 ))


