Question: The Python files A 1 Q 1 . py , A 1 Q 2 . py , and A 1 Q 3 . py have
The Python files AQpy AQpy and AQpy have been provided for questions in this section. Fill in your name and student ID in the proper section. Write your answer in the corresponding files, and then submit them to SOUL. Question C marks Calculate the area of the dotted section inside a circle with a radius r There is an equilateral triangle inside this circle. Put your code in AQpy This program needs to meet the following conditions: Ask the users to enter a positive number as the radius. Print out a message "Not positive number, try again! if the input number is less than then exit this program. The entered number can be either an integer or a float. The below formula can be used for the calculation: o where r denotes the radius of the circle. The math module needs to be imported. The area of the dotted section should be limited to decimal places. Print out a message "Wrong inputs! and end the program if a wrong input egabc" is detected.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
