Question
Having some trouble with this python question. An answer would be greatly appreciated. days_since_release = 14 original_price = 60 greatest_hits = True #You may modify
Having some trouble with this python question. An answer would be greatly appreciated.
days_since_release = 14 original_price = 60 greatest_hits = True
#You may modify the lines of code above, but don't move them! #When you Submit your code, we'll change these lines to #assign different values to the variables.
#Write a conditional that determines the price of a #newly-released game, movie, or album based on the time since #it was released. # #Assume that a new release loses $2 off its price for every #full week since it was released. So, two full weeks (14 days) #after a $60 game is released, it will cost $56. # #However, if the release is considered a "greatest hit", it #loses value half as fast: after two weeks, it will be $58 #instead of $56. # #No release will ever fall to below $20, however, no matter #how fast it loses value or whether it's the greatest hit. # #Add some code below to print the current price of the release. #For example, with the values above, it would print $58.
#Add your code here! Make sure to print the dollar sign, too.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started