MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/tb2k7k/utility_function_on_g4g/i0532y2/
r/badcode • u/chells15 • Mar 10 '22
65 comments sorted by
View all comments
Show parent comment
20
Actually this is a more constrained version of min(). Normally it takes an iterable or multiple numbers, but here you must provide exactly two numbers.
15 u/SSG_SSG_BloodMoon Mar 10 '22 maybe they need it to fail if it gets fed more arguments
15
maybe they need it to fail if it gets fed more arguments
View all comments
Show parent comment
20
u/[deleted] Mar 10 '22
Actually this is a more constrained version of min(). Normally it takes an iterable or multiple numbers, but here you must provide exactly two numbers.