Question: PYTHON You are offered two salary options for a user input number of days of work. Option I $100 per day. Option 2: $1 the
PYTHON
You are offered two salary options for a user input number of days of work.
Option I $100 per day.
Option 2: $1 the first day, $2 the second day, $4 the third day, $8 the fourth day, etc.
Ask the user for the number of days. Determine which option pays better.
Use functions named option 1 and option 2 to calculate and return the amount of money earned under each option.
The main program should print which is better.
If the input is:
10
The output is:
Enter the number of days
Option 1 pays $1000
Option 2 pays $1023
Option 2 is better.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
