Update find_min.py (#1627)

Line 5:     :return: max number in list   
"max" must be "min"
This commit is contained in:
heartsmoking 2019-12-11 14:57:08 +08:00 committed by Christian Clauss
parent b9bff8f3a7
commit d385472c6f

View File

@ -2,7 +2,7 @@ def find_min(nums):
"""
Find Minimum Number in a List
:param nums: contains elements
:return: max number in list
:return: min number in list
>>> for nums in ([3, 2, 1], [-3, -2, -1], [3, -3, 0], [3.0, 3.1, 2.9]):
... find_min(nums) == min(nums)