Question: # 2) Write a function called multiply that has two parameters, x and y. The # function should return the result of multiplying x times
# 2) Write a function called multiply that has two parameters, x and y. The # function should return the result of multiplying x times y. Then fill in code # after where the number1 and number2 variables are defined below to call this # function and print the result. # Write your function below this line # This code will test the multiply function number1 = 5 number2 = 10 # Below this comment, write a call to multiply with number1 and number2 # as arguments and store the result in a variable called answer. # Then print answer # The above code should print # 50
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
