mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-24 05:21:09 +00:00
parent
8a667e8b22
commit
265ea0eccb
|
@ -4,7 +4,7 @@ def main():
|
||||||
for i in x:
|
for i in x:
|
||||||
if minNum > i:
|
if minNum > i:
|
||||||
minNum = i
|
minNum = i
|
||||||
return minNum
|
return minNum
|
||||||
|
|
||||||
print(findMin([0,1,2,3,4,5,-3,24,-56])) # = -56
|
print(findMin([0,1,2,3,4,5,-3,24,-56])) # = -56
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user