Question: Must be in Python Part 2: 1. (10 points) Create a Circle class and initialize it with radius. Make two methods getArea and getCircumference inside
Part 2: 1. (10 points) Create a Circle class and initialize it with radius. Make two methods getArea and getCircumference inside this class. The method getArea returns the area of a circle. The area of a circle is calculate using the formula PI radius radius The method getCircumference returns the circumference of a circle. The formula to get the circumference is radius 2* PI 2. (10 points) write and test a function to meet this specification squareEach(nums) nums is a list of numbers. Modifies the list by squaring each entry. Please use exception handling (catching and raising)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
