Question: For Programming Assignment 1 , you are required to write Python scripts ( or programs ) that compute the following. [ MO 1 . 2
For Programming Assignment you are required to write Python scripts or programs that compute the following. MO
a Write a script to compute and print the surface area of a sphere with radius The surface area is given by where is the radius and is Your script should include incode comments as necessary to allow a reviewer of the program to understand the objective and functioning of it Comments in Python begin with the # character.
b Write a script for computing and printing the speeding fine of a motorist. Assume the speed limit is the motorist was traveling at and the ticket is $ for each over the speed limit Your script should include incode comments as necessary to allow a reviewer of the program to understand the objective and functioning of it Comments in Python begin with the # character.
Submit your programs as script files named "COSPAapy and "COSPAbpy respectively.
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
