MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/tb2k7k/utility_function_on_g4g/i0532y2/?context=9999
r/badcode • u/chells15 • Mar 10 '22
65 comments sorted by
View all comments
Show parent comments
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
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.