Logo
Flashcard >test 4 cs196
Add Flashcard
1/1

Given the function max_value and the list nums, which call will correctly find the maximum value in the list?

def max_value(*args):
    return max(args)

nums = [5, 10, 15, 20, 25]

test

profile imgdavidmacago edited a year ago

Given the function max_value and the list nums, which call will correctly find the maximum value in the list?

def max_value(*args):
    return max(args)

nums = [5, 10, 15, 20, 25]

test

Recommended Books

Reading books is a great way to learn. Here are some of the books we recommend.