Commit 5c390f78 authored by Thomas Torsney-Weir's avatar Thomas Torsney-Weir

fix indentation

parent a589ce33
......@@ -6,7 +6,7 @@ import l1p1
def is_sorted(l):
if(len(l) < 2):
return True
return True
return all([x<=y for x,y in zip(l[:-1],l[1:])])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment