Question: What will be the value of the answer variable after the following code is executed? def pass _ it ( x , y ) :

What will be the value of the "answer" variable after the following code is executed?
def pass_it(x, y):
z = x ,",", y
num1=4
num2=8
answer = pass_it(num1, num2)
What will be the value of the "answer" variable after the following code is executed?
def pass_it(x, y):
z = x ,",", y
num1=4
num2=8
answer = pass_it(num1, num2)
a.
4,8
b.
8,4
c.
48
d.
None

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 Programming Questions!