News

has_negative = False for num in numbers: if num < 0: has_negative = True break. This is clear enough, but it adds extra lines and variables. You can do this with the any() function in Python.