Pennies for Pay Design and write a python program to pass Lab 4-7 with the following modifications: 1.use an outer loop to keep the program running until zero (0) day for the payroll calculation be entered 2.use an inner loop to calculate and print the daily and total payroll

Pennies for Pay Design and write a python program to pass Lab 47 with the following modifications 1use an outer loop to keep the program running until zero 0 da class=

Respuesta :

TJC07

Answer:

Here you go, change it however you'd like :)

Explanation:

(A nested loop was not needed to fulfill this task)

usr = int(input("How many days would you like to calculate: "))

pen = 0.01

for n in range(1, usr + 1):

   print(f"Day: {n} | Amount: ${pen}")

   pen += pen

ACCESS MORE