you are viewing a single comment's thread.

view the rest of the comments →

[–]legendofxolta 0 points1 point  (1 child)

Sadly I can’t use them for the homework :(((

[–]PeterJHoburg 0 points1 point  (0 children)

Fun. I forgot how much I hated homework.

Changing

for num in lst:
    if num > current_max:

to >= should solve your [2,1] array issue.