Apply new format to snippets and template
This commit is contained in:
@ -5,7 +5,7 @@ tags: list,beginner
|
||||
|
||||
Checks if all elements in a list are equal.
|
||||
|
||||
Use `[1:]` and `[:-1]` to compare all the values in the given list.
|
||||
- Use `[1:]` and `[:-1]` to compare all the values in the given list.
|
||||
|
||||
```py
|
||||
def all_equal(lst):
|
||||
|
||||
Reference in New Issue
Block a user