Question: [ Python ] def function ( a , b ) : if a > b: return a else: return b function ( 1 , 2

[Python]
def function(a,b):
if a >b:
return a
else:
return b
function(1,2)
What does this function do when called?
a. Returns False if the first value is greater than the second.
b. Returns True if the first value is greater than the second.
c. Finds the product of two values.
d. Finds the sum of two values.
e. Finds the maximum of two values.
f. Returns False if the first value is greater than the second.
g. Finds the minimum of two values.

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!