Update head.md
This commit is contained in:
committed by
GitHub
parent
23f008ca2a
commit
051e0db2c4
@ -5,7 +5,7 @@ tags: list,beginner
|
||||
|
||||
Returns the head of a list.
|
||||
|
||||
use `lst[0]` to return the first element of the passed list.
|
||||
Use `lst[0]` to return the first element of the passed list.
|
||||
|
||||
```py
|
||||
def head(lst):
|
||||
|
||||
Reference in New Issue
Block a user