Arithmetic Operators

# Arithmetic Operators:
# Addition:       3 + 2 = 5
# Subtraction:    3 - 2 = 1
# Multiplication: 3 * 2 = 6
# Division:       3 / 2 = 1.5(in python3,result 1 in python 2)

# Floor Division: 3 // 2 = 1
# Exponent:       3 ** 2 = 9
# Modulus:        3 % 2 = 1

Comparisons

# Comparisons:
# Equal:            3 == 2 False
# Not Equal:        3 != 2 True
# Greater Than:     3 > 2 True
# Less Than:        3 < 2 False
# Greater or Equal: 3 >= 2 True
# Less or Equal:    3 <= 2 False

Related Function

abs(-3) # 3
round(3.75) # 4
round(3.75,1) # 3.8

String 2 Num

num_1 = '100'
num_2 = '200'
print(num_1 + num_2)
# 100200
num_1 = int(num_1)
num_2 = int(num_2)
print(num_1 + num_2)
# 300