9 lines
171 B
Python
9 lines
171 B
Python
>>> def bigger_than_10(numbers):
|
|
... for n in numbers:
|
|
... if n > 10:
|
|
... return n
|
|
... return None
|
|
...
|
|
>>> bigger_than_10(squares_list(11))
|
|
16
|