Write a Python program to calculate the result of dividing two numbers.
Division is one of the four basic operations of arithmetic, the others being addition, subtraction, and multiplication. The division of two natural numbers is the process of calculating the number of times one number is contained within one another.
Code:
1 2 3 4 5 6 7 8 9 10 | num1 = 100 num2 = 5 # Add two numbers division = int(num1) / int(num2) # Result dividing print('{0} / {1} = {2}'.format(num1, num2, division)) |
Output: