Site icon Tutor Bin

UCM Python Program Project

UCM Python Program Project

Description

Instructions:

You need to write one Python program per question. Each program should be written in IDLE or be IDLE compatible.

Name the program after the title of the problem.

The first three lines of each program should be a comment to include your name, date and name of the program.

Create a new folder called ch2 HW and place all your programs inside. Then zip (compress) the folder and submit the single ch2 HW zipped folder.

1.Pennies for Pay

Write a program that calculates the amount of money a person would earn over a period of time if his or her salary is one penny the first day, two pennies the second day, and continues to double each day. The program should ask the user for the number of days. Display a table showing what the salary was for each day, then show the total pay at the end of the period. The output should be displayed in a dollar amount, not the number of pennies.

2.Ocean Levels

Assuming the ocean’s level is currently rising at about 1.6 millimeters per year, create an application that displays the number of millimeters that the ocean will have risen each year for the next 25 years.

Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."

Exit mobile version