Question: python Create a function called doCalc and it will receive 3 parameters: num1, num2, and num3. Within the function, add num1 and num2 and then
python
Create a function called doCalc and it will receive 3 parameters: num1, num2, and num3. Within the function, add num1 and num2 and then multiply them by num3. Print the answer from within the function. Call doCalc once and pass in the arguments: 10, 12, 40.
So far I have this:
def doCalc(num1, num2, num3):
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
