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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!