Python project
Budget: ₹600 – ₹1,500 INR
Create a module named AreasOfShapes in which you will write functions to calculate areas of different shapes:
1. Circle : pi*r*r
2. Square : length**2
3. Rectangle: length*breadth
Import the module in your main program.
In your main program, you will ask for a choice of shape. Once the shape is selected, you'll ask for the required parameter values. E.g. For choice 1(circle), you will ask for radius.
Call the appropriate function from the AreasOfShapes module and print the result.
Need this to be done urgently.
Response asap
1. Circle : pi*r*r
2. Square : length**2
3. Rectangle: length*breadth
Import the module in your main program.
In your main program, you will ask for a choice of shape. Once the shape is selected, you'll ask for the required parameter values. E.g. For choice 1(circle), you will ask for radius.
Call the appropriate function from the AreasOfShapes module and print the result.
Need this to be done urgently.
Response asap
Related categories:
Business, Accounting, Human Resources & Legal
Python
Coding
Programming
Micropython