Skip to content

Handle invalid triangle sides in area calculation #602

Description

@AdhiAgrawal0205

The triangle function crashes with a ValueError when invalid side lengths are entered. Add triangle inequality validation before calculating the area using Heron's formula.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions