Suggest >2 arguments for min/max functions #7546
Labels
Enhancement ✨
Improvement to a component
Hacktoberfest
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Optional Checkers
Related to a checked, disabled by default
Milestone
Current problem
Some Python users may be unaware that the
min
andmax
functions allow for more than two arguments.Desired solution
Expressions of the form:
min(a, min(b, min(c, d))
can be replaced with the simplerx = min(a, b, c, d)
.Additional context
No response
The text was updated successfully, but these errors were encountered: