Skip to content

Commit

Permalink
Update min_int_in_list.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalpak Take authored Jan 31, 2017
1 parent 3498c4b commit 01b5e2a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion min_int_in_list.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@

def compare(li):
if (len(li) == 1):
return "Single Value To Compare {} in List".format(li[0])
res = 0
for i in range(len(li) - 1):
a = li[i]
Expand Down Expand Up @@ -27,4 +29,4 @@ def convert():
return nums

if __name__ == "__main__":
print compare(convert())
print compare(convert())

0 comments on commit 01b5e2a

Please sign in to comment.