Skip to content

Commit

Permalink
Update FindMin.py (TheAlgorithms#601)
Browse files Browse the repository at this point in the history
Fixed indentation error.
  • Loading branch information
gpapadok authored and harshildarji committed Nov 10, 2018
1 parent 8a667e8 commit 265ea0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Maths/FindMin.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ def findMin(x):
for i in x:
if minNum > i:
minNum = i
return minNum
return minNum

print(findMin([0,1,2,3,4,5,-3,24,-56])) # = -56

Expand Down

0 comments on commit 265ea0e

Please sign in to comment.