Solved q7. please solution in Python codes.... Lelsius to
Pennies For Pay Python. Where the world builds software · github # imagine you are paid in pennies, such that the first day you work you get 1 penny.
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 second day 2 pennies, the third day 4 pennies, etc. Salary += 2 * salary total. Display a table showing what the salary was for each day, Web 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. However, i'm stuck on trying to find a way to convert the number of pennies into a dollar and cent amount. , pennies) if you import this script into another program, you probably don't want the script to immediately run; # write a program which will output how much you earn (in dollars) every day for a month. Web pennies for pay write a program | chegg.com engineering computer science computer science questions and answers python program 7. Web numberofdaysworked = int(input (enter the amount of days worked:
, pennies) if you import this script into another program, you probably don't want the script to immediately run; Web pennies for pay write a program | chegg.com engineering computer science computer science questions and answers python program 7. Where the world builds software · github , pennies) if you import this script into another program, you probably don't want the script to immediately run; Web numberofdaysworked = int(input (enter the amount of days worked: And the total pay at the end. I'm also attempting to make it so if user input is not a positive number, the user will be continously prompted until they enter a positive. # write a program which will output how much you earn (in dollars) every day for a month. Web pennies, _ = divmod(round(amnt, 2), 0.01) print(pennies: However, i'm stuck on trying to find a way to convert the number of pennies into a dollar and cent amount. (i.e., your pay doubles every day worked).