Python programming question: | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Python programming question:

A babysitter charges N250 an hour until 9:00 PM when the rate drops to N175 an hour (the children are in bed). Write a program that accepts a starting time and ending time in hours and minutes and calculates the total babysitting bill within a 24 hour period. Please help provide a code using Python as the programming language.

7th Feb 2021, 10:07 AM
Olumide Akinwale
Olumide Akinwale - avatar
3 Answers
+ 1
Show your attempt first
7th Feb 2021, 10:13 AM
Atul [Inactive]
0
N250 until 9 pm , but when is N250 starting ? at 12 pm or when? And when does M175 /hr ends after starting at 9PM ? And would you show what you have written so far or just can't understand how to begin with ?
7th Feb 2021, 10:16 AM
Abhay
Abhay - avatar
0
@Atul & @Abhay, I don't even understand the question myself
7th Feb 2021, 11:23 AM
Olumide Akinwale
Olumide Akinwale - avatar