by svet_0 · 8y ago · 0 comments
def foo( vals ):
output = vals[0]
for x in vals[1:]:
if output < x:
output = x
return x
1. It should return output2. The answer should be "The maximum value", not "The minimum value"
Also, it could be nice if after you solve a riddle you would get a new one.