Update snippet descriptions
This commit is contained in:
@ -3,9 +3,10 @@ title: includes_all
|
||||
tags: list,intermediate
|
||||
---
|
||||
|
||||
Returns `True` if all the elements in `values` are included in `lst`, `False` otherwise.
|
||||
Checks if all the elements in `values` are included in `lst`.
|
||||
|
||||
- Check if every value in `values` is contained in `lst` using a `for` loop, returning `False` if any one value is not found, `True` otherwise.
|
||||
- Check if every value in `values` is contained in `lst` using a `for` loop.
|
||||
- Return `False` if any one value is not found, `True` otherwise.
|
||||
|
||||
```py
|
||||
def includes_all(lst, values):
|
||||
|
||||
Reference in New Issue
Block a user