
num = 3

print(type(num))

num = 3.14

print(type(num))

# Arithmetic Operators:
# Addition:         +
# Subtraction:      -
# Multiplication:   *
# Division:         /
# Floor Division:   //
# Exponent:         **
# Modulus:          %

print(9 + 2, 9 - 2, 9 * 2, 9 / 2, 9 // 2, 9 ** 2, 9 % 2)

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

print(3 + 2 * 4)

print('three ' * 3)
print('*' * 10)


num = 1

num = num + 10

print(num)

num += 10

print(num)

num -= 10

print(num)

num = 1

num *= 10

print(num)


num = 1

num /= 10

print(num)

print('*' * 10)

print(abs(-3))

print(round(3.75))
print(round(3.75, 1))

print('*' * 10)

# Comparisons:

# Equal:                  ==
# Not Equal:              !=
# Greater Than:           >
# Less Than:              <
# Greater or Equal:       >=
# less or Equal:          <=

num_1 = 3
num_2 = 2

print(num_1 == num_2)
print(num_1 != num_2)
print(num_1 < num_2)
print(num_1 > num_2)
print(num_1 <= num_2)
print(num_1 >= num_2)

print('*' * 10)

# cast

num_1 = '100'
num_2 = '200'

print(num_1 + num_2)

num_1 = int(num_1)
num_2 = int(num_2)
print(num_1 + num_2)


