Develop a Python script that contains functions toperform the following: Additio
ID: 3608186 • Letter: D
Question
Develop a Python script that contains functions toperform the following:
Addition
Subtraction
Multiplication
Division
Modulus
The function should perform the calculation andreturn the result. The caller will perform the output.
Use two variables with value assignments asfollows: (and any other ones you need)
number1 = 7
number2 = 3
The calculations performed should be:
number1 + number2
number1 – number2
number1 * number2
number1 / number2
number1 % number2
The output format should look like:
7 + 3 = 10
7 – 3 = 4
etc.
Explanation / Answer
Develop a Python script that contains functions toperform the following: Additio
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.