num = 8
print(type(num))

num1 = 3.14
print(type(num1))

'''
arithmetic operators:
addition        3 + 2
subtraction     3 - 2
multiplication  3 * 2
division        3 / 2
floor division  3 // 2
exponent        3 ** 2
modulus         3 % 2
'''

print(3 + 2)
print(3 - 2)
print(3 * 2)
print(3 / 2)
print(3 // 2)
print(3 ** 2)
print(3 % 2)

print(3*2+1)
print(3*(2+1))

#incremant
num = num + 1
print( num )
num += 1
print( num )
num *= 10
print( num )

#print abslute values
print(abs(-3))

#print nearest integer
print(round(3.75))
print(round(3.75,1))

#comparisons
num_1 = 6
num_2 = 8

# Equal
print(num_1 == num_2)
# Not Equal
print(num_1 != num_2)
# Greater Than
print(num_1 > num_2)
# Less Than
print(num_1 < num_2)
# Greater or Equal
print(num_1 >= num_2)
# Less or Equal
print(num_1 <= num_2)

#variable type casting
num_1 = '100'
num_2 = '200'
print (int(num_1) + int(num_2))