Question: Answer please Use Sypder to develop your code for the following problems and drop your python (...py) code into the DB T2P2 in the Tests

Answer please


Use Sypder to develop your code for the following problems and drop

Use Sypder to develop your code for the following problems and drop your python (...py) code into the DB T2P2 in the Tests folder. This test and Drop Box will be active till Midnight of 11/13/2022 [15] 1. Use the radius of 4 inch and pi value of 3.14159 (r=4.0 and pi=3.14159) to calculate the area and circumference of a circle. You are asked: i. ii. iii. To develop a main function as driver which will have the call function of the circle (call function to circle will pass the radius and pi value to the function that calculate area and circumference), To develop a function (you can name it as circle) that takes r and pi, calculates area and circumference, and returns these two values to the main function, To display the area and circumference inside the main function to the user. [10] Start with the following list of numbers. numbers = [10, 3, 7, 1, 9, 4, 2, 8, 5, 6] 2. You can use filter, map and sum to calculate the total (sum) of the squared values of even integers in that list. [Even integers in the list of "numbers" are selected, squared, and added]. You can also use list comprehensions, or list processing operations with functions to accomplish the objective. Your output may look like: Numbers=[10, 3, 7, 1, 9, 4, 2, 8, 5, 6] Sum of squared even numbers in the list: 220

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!