Paired Programming Activity
IPO Problems

Activities

I would like you to attempt to complete four small Python scripts working with your partner.

Please try to make your program output look as much like the example as possible and verify it works with the example input provided. If you have difficulty finding the information or understanding how to approach the problem, you should contact me.

To complete this activity, you will need to create the following scripts:

 


IPO 1

Discount Price

Brice Tagg wants you to create a program to help her calculate sale prices in her store.

Write a Python script that conforms to the following

 

 


IPO 2

How Far

Wayne Ningmoon teaches middle school science. He is currently teaching a unit on space exploration. He wants your help calculating where the Voyager 1 spacecraft currently is located.

 


IPO 3

Time left to our destination

Miles Prower is an over-the-road truck driver. He is interested in figuring out how long it will take him to get to the next exit.

Write a Python script that conforms to the following

 

 


IPO 4

Area inside of a race track

Rusty Fender designs racing tracks. One of the considerations for a race track is how much area is inside of the track for things like the team pits and RV parking. He wants a quick and easy way to calculate the area inside of the track.

 

Write a Python script that conforms to the following