Skip to content

Commit b8b229d

Browse files
Update return value
1 parent 764f7f9 commit b8b229d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

language-guide/functions-classes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def square(n):
172172

173173
```python
174174
def min_max(lst):
175-
return min(lst), max(lst)
175+
return (min(lst), max(lst))
176176

177177
low, high = min_max([3, 1, 4, 1, 5, 9, 2, 6])
178178
print(low, high) # 1 9

0 commit comments

Comments
 (0)