Question: def find _ max ( num _ 1 , num _ 2 ) : max _ val = 0 . 0 if ( num _

def find_max(num_1, num_2):
max_val =0.0
if (num_1> num_2): # if num1 is greater than num2,
max_val = num_1 # then num1 is the maxVal.
else: # Otherwise,
max_val = num_2 # num2 is the maxVal
return max_val
max_sum =0.0
num_a = float(input())
num_b = float(input())
num_y = float(input())
num_z = float(input())
''' Your solution goes here '''
print(f'max_sum is: {max_sum}')

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!