Write a function named "count_values" that takes a list of integers as a parameter and returns the number of values in the list that are strictly greater than 681
1
Expert's answer
2020-03-13T16:58:09-0400
def count_values(L):
count = 0
for x in L:
if x > 681:
count += 1
return count
Comments
Leave a comment