Skip to content

Commit

Permalink
Update 3-lists.md
Browse files Browse the repository at this point in the history
Fixed typo.
  • Loading branch information
marvhh authored Jan 26, 2025
1 parent f040e49 commit fbf4809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/part-4/3-lists.md
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ Just like the built-in functions above, our own functions can also take a list a

```python
def median(my_list: list):
ordered = sorted(my_list))
ordered = sorted(my_list)
list_centre = len(ordered) // 2
return ordered[list_centre]
```
Expand Down

0 comments on commit fbf4809

Please sign in to comment.