Skip to content

Suggest >2 arguments for min/max functions #7546

Closed
@bje-

Description

@bje-

Current problem

Some Python users may be unaware that the min and max 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 simpler x = min(a, b, c, d).

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Enhancement ✨Improvement to a componentHacktoberfestNeeds PRThis issue is accepted, sufficiently specified and now needs an implementationOptional CheckersRelated to a checked, disabled by default

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions