Lab9A: All math, all the time
Write a method `allMath()` which takes in two numbers as inputs and returns a tuple containing
the result of each arithmetic operation between both numbers in the following order: addition,
subtraction, multiplication, division, floor division, modulus, and power. If one of the operations
requires a division by 0, replace its result with `None`.
For example:
o allMath(2, 3) would return the tuple (5, -1, 6, 0.6666666666666666, 0, 2, 8)
o allMath(1, 8) would return the tuple (9, -7, 8, 0.125, 0, 1, 1)
o allMath(6, 0) would return the tuple (6, 6, 0, None, None, None, 1)
o allMath(7, 8) would return the tuple (15, -1, 56, 0.875, 0, 7, 5764801)
On the main program, prompt the user for two numbers, pass those numbers to the `allMath()`
function, and then print out the result.
Note
o You can assume both inputs are valid numbers (i.e., you do not need to check if the inputs are
numbers)
o Remember that while tuples are immutable, you can concatenate two tuples, much like you would
with strings.
Sample Output #1:
Enter your first number: 5
Enter your second number: 4
Your resulting tuple is (9, 1, 20, 1.25, 1, 1, 625)