Skip to content
Code ReadingAny Frost?
Break the Code

Any Frost?

Write a list for which this function gives the wrong answer.
1def any_frost(temps):
2 for t in temps:
3 if t > 0:
4 return False
5 return True