This calculator calculates the volumes of rectangular prisms, cones, cylinders, square pyramids, and spheres. https://towardsdatascience.com/3-useful-projects-to-learn-python-classes-cf0076c36297 Originally got the idea from this website, but I used volumes of 3D shapes instead of areas of polygons. I did not mod this project; it was created by me. This project was created to solidify my understanding of classes and objects.
Some features:
- The volume calculator asks for which shape you'd like to calculate.
- can catch errors and asks the user again if they typed in a wrong float or string.
- user can restart program
- while loops
- use of classes, a dictionary, a tuple
- module
Also my first program over 100 lines.