Skip to content

Commit d385472

Browse files
heartsmokingcclauss
authored andcommitted
Update find_min.py (TheAlgorithms#1627)
Line 5: :return: max number in list "max" must be "min"
1 parent b9bff8f commit d385472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maths/find_min.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ def find_min(nums):
22
"""
33
Find Minimum Number in a List
44
:param nums: contains elements
5-
:return: max number in list
5+
:return: min number in list
66
77
>>> for nums in ([3, 2, 1], [-3, -2, -1], [3, -3, 0], [3.0, 3.1, 2.9]):
88
... find_min(nums) == min(nums)

0 commit comments

Comments
 (0)