Course Solutions Uncategorized (Solved) : O Determine Salary Options Option1 Option 2 Better Function Name Bettersalary Integer Day Q32645776 . . . .

(Solved) : O Determine Salary Options Option1 Option 2 Better Function Name Bettersalary Integer Day Q32645776 . . . .

 

o Determine which salary options (option1, option 2) are better. Function name should be better_salary An integer(day) bigger than 1 is given as input to the function Return 1 if option 1 pays better. Otherwise, return 2. There are two salary options such that option 1: You get $100 per day. option 2: You get $1 the first day, $2 the second day, $4 the third day, and so on, with the amound doubling each day The code below will print 1 and 2, respectively def better_salary(day) # write statement print(better_salary(6) print(better_salary(10))

Please use Python3

o Determine which

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Solved) : Incorrect 0 025 Pts Coecequestion 4 Laptop 25ghz Processor Clock Period Nano Seconds Unit Q34949840 . . . .(Solved) : Incorrect 0 025 Pts Coecequestion 4 Laptop 25ghz Processor Clock Period Nano Seconds Unit Q34949840 . . . .

<br/><img src="https://media.cheggcdn.com/media%2F9a1%2F9a1b3744-b3cc-446f-91c6-2b3d70e4e596%2Fimage.png" alt="Incorrect 0/0.25 pts COECEQuestion 4 You have a laptop with 2.5GHz processor. What is the clock period (nano-seconds unit) of" aria-describedby="d3f"/>Incorrect 0/0.25 pts COECEQuestion 4 You have a