Apply new format to snippets and template
This commit is contained in:
@ -5,7 +5,7 @@ tags: list,beginner
|
||||
|
||||
Returns the unique elements in a given list.
|
||||
|
||||
Create a `set` from the list to discard duplicated values, then return a `list` from it.
|
||||
- Create a `set` from the list to discard duplicated values, then return a `list` from it.
|
||||
|
||||
```py
|
||||
def unique_elements(li):
|
||||
|
||||
Reference in New Issue
Block a user