Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: TheAlgorithms/Python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: JeelGajera/Python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Oct 14, 2025

  1. chore(geometry): add angle conversion, ellipse eccentricity, polygon …

    …geometry, and triangle class
    
    - Added `Angle.to_radians()` and `Angle.from_radians()` for degree-radian conversion.
    - Improved `Ellipse.perimeter` with Ramanujan’s approximation and added `eccentricity` property.
    - Enhanced `Polygon` with vertex generation, perimeter, and area computation.
    - Updated `Rectangle` to construct all four sides and support complete vertex/area logic.
    - Introduced new `Triangle` class with validation, perimeter, and Heron’s area formula.
    JeelGajera committed Oct 14, 2025
    Configuration menu
    Copy the full SHA
    bfe2375 View commit details
    Browse the repository at this point in the history
  2. [pre-commit.ci] auto fixes from pre-commit.com hooks

    for more information, see https://pre-commit.ci
    pre-commit-ci[bot] authored and JeelGajera committed Oct 14, 2025
    Configuration menu
    Copy the full SHA
    20a8115 View commit details
    Browse the repository at this point in the history
Loading