How should you complete the code?

HOTSPOT

The ABC Video company needs a way to determine the cost that a customer will pay for renting a DVD. The cost is dependent on the time of day the DVD is returned. However, there are also special rates on Thursdays and Sundays. The fee structure is shown in the following list:

• The cost is $1.59 per night.

• If the DVD is returned after 8 PM, the customer will be charged an extra day.

• If the video is rented on a Sunday, the customer gets 30% off for as long as they keep the video.

• If the video is rented on a Thursday, the customer gets 50% off for as long as they keep the video.

You need to write code to meet the requirements.

How should you complete the code? To answer, select the appropriate code segments in the answer area.

Answer:

Explanation:

https://www.w3resource.com/python/python-operators.php

https://www.w3resource.com/python/python-if-else-statements.php

Latest 98-381 Dumps Valid Version with 40 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>