Question: answer in python please and thank you. A popular internet-based DVD rental company is buying up everyones used DVDs. They want you to create a

answer in python please and thank you. A popular internet-based DVD rental company is buying up everyones used DVDs. They want you to create a program that makes sure the DVDs they buy are decent and sold to them at a good price. Your program should first ask how many times a movie has been watched, then it should ask how much money they want to sell this movie for, and finally it should ask what genre of movie it is. The user must enter valid information for each input, and the program must re-prompt the user as many times as needed until they enter valid input for each question. Once they enter valid values for all three questions, the program should display the times watched, price, and genre as entered by the user. You can assume that the type of input will be correct for each question asked, but you must validate the value entered. If the user enters an invalid input, the program must tell the user why it is invalid: for watches, whether it is too high or low; for price, whether it is too high or low or not divisible of 0.25; for genre, that it must be romance, or comedy to be accepted. The input must be validated to these specifications: Times watched must be between 0 and 10, inclusive. Price must be: o Between 0 and 15, inclusive, and o Divisible by 0.25 (so 1.25, 2.50, 5.00, 10.75, etc. are all accepted) Genre must be romance, comedy, in all lowercase.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!