Question: Imagine that you have a spherical bead. Write a function named parta that will take in as parameters the radius of the sphere and the

Imagine that you have a spherical bead. Write a function named parta that will take in as parameters the radius of the sphere and the radius of the hole, and return the volume of the bead.
Write a function named partb that will take in as a parameter a positive integer n and determines if n can be calculated as the sum of 2 or more consecutive positive, even integers. If it can, return a list of the numbers, otherwise return False.
Write a function named partc that will take in as parameters a single character, a persons name, company, and email, and returns a single string of the persons digital business card. Use the character as a border, and provide 2 spaces as padding on either side of the longest entry.
Example using parameters ('*','Dr. Ritchey', 'Texas A&M University', 'snritchey@tamu.edu'):
*************************** Dr. Ritchey ** Texas A&M University ** snritchey@tamu.edu ***************************
Write a function named partd that takes in as a parameter one list of numbers and returns the minimum, median, and maximum value of the list, in that order.
Write a function named parte that takes in as parameters two parallel lists: a list of times (in increasing order), and a list of distances traveled by that point in time. The function should return a new list giving the velocity between consecutive time measurements.
Write a function named partf that takes in as a parameter one list of numbers and determines if two of the numbers in the list add to 2028. If they do, return the product of the two numbers, otherwise return False.

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!