Skip to content

Commit b88ad6b

Browse files
authored
Merge pull request #204 from psmaker/patch-3
Update Exercises.rst
2 parents b85f0b4 + dcc322c commit b88ad6b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_sources/Lists/Exercises.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ Exercises
201201
.. activecode:: lst_q5_answer
202202

203203
def max(lst):
204-
max = 0
204+
max = lst[0]
205205
for e in lst:
206206
if e > max:
207207
max = e

0 commit comments

Comments
 (0)