This is a Python program that functions as a shape calculator. It calculates various properties of different shapes such as circles, spheres, triangles, rectangles, squares, pyramid volumes, and cone volumes.
- Calculates properties of various shapes including circumference, area, volume, surface area, perimeter, etc.
- Supports shapes such as circles, spheres, triangles, rectangles, squares, pyramids, and cones.
- Clone the repository to your local machine.
- Run the
shape-calculator.py
file using a Python interpreter. - Follow the on-screen prompts to select the shape and the calculation you want to perform.
- Input the required parameters when prompted.
- The program will output the result of the calculation.
- Circle
- Circumference
- Area
- Sphere
- Volume
- Surface Area
- Triangle
- Perimeter
- Area
- Rectangle
- Perimeter
- Area
- Square
- Perimeter
- Area
- Pyramid Volume
- Cone Volume
- When prompted to select a shape, input the corresponding number or letter.
- Follow the subsequent prompts to provide the necessary parameters for the calculation.
- Input '0' to exit the program.
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or create a pull request.
This project is licensed under the MIT License.