Question: Example 1 1. Create a module named h01_futval.py from the directory hw 2. Record your name, class number, and date of creation. 3. Type the

Example 1

1. Create a module named h01_futval.py from the directory hw

2. Record your name, class number, and date of creation.

3. Type the incomplete program below with principal and apr and modify h01_futval.py to complete it using print. Tip: the exact result of the program depends on data you input

Dont forget to remove ---- to complete the program

# h01_futval.py

# A program to compute the next year value of an investment

# created by -------- ---------, --------- (record your first and last name, and date (mm-dd-yyyy) in order)

def main()

principal = ----

apr = ----

principal = principal * (1 + apr)

-------(The value next years is:, ---------)

main()

When you have completed the program, run the program and capture and paste the output below:

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 Databases Questions!