Mathematical Operations with Variables in Python

Mathematical operations can be performed not only on numbers, but also on variables. Let's find the sum of the values ​​of two variables:

pythonnum1 = 1
num2 = 3
print(num1 + num2) # 4

It is not necessary to immediately output the result of the operation; you can first write it to some variable, and then output the value of this variable:

pythonnum1 = 1
num2 = 3
res = num1 + num2 # write the sum to the variable res
print(res) # 4
Задание 1

Two numbers are given:

pythonnum1 = 5
num2 = 3

Find the sum of these numbers.

Задание 2

Two numbers are given:

pythonnum1 = 10
num2 = 6

Find the difference between these numbers.

Задание 3

Two numbers are given:

pythonnum1 = 7
num2 = 3

Find the product of these numbers.

Задание 4

Two numbers are given:

pythonnum1 = 15
num2 = 6

Find the quotient of these numbers.

Задание 5

Change the solution to the previous problem so that when dividing, the quotient is obtained without a remainder.