Skip to content
Snippets Groups Projects
Commit f9e23dc7 authored by Blaise Li's avatar Blaise Li
Browse files

Typo.

parent bdf447e8
No related branches found
No related tags found
No related merge requests found
......@@ -69,16 +69,16 @@ implementation
return the maximum value in a sequence
work only with integer or float
"""
higest = seq[0]
highest = seq[0]
for i in seq:
if i > highest:
highest = i
return highest
l = [1,2,3,4,58,9]
print my_max(l)
58
.. _enzyme_exercise:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment