Update none.md

This commit is contained in:
Angelos Chalaris
2019-09-25 22:15:34 +03:00
committed by GitHub
parent f2b6ae351e
commit f25ea2a8cb

View File

@ -5,7 +5,7 @@ tags: list,function,intermediate
Returns `False` if the provided function returns `True` for at least one element in the list, `True` otherwise.
Use `all()` and run `fn` to check if `fn` returns `False` for all the elements in the list.
Use `all()` and `fn` to check if `fn` returns `False` for all the elements in the list.
```py
def none(lst, fn=lambda x: x):