Question: 1 Your inputs should be the number of eye drop medicines, usual waking up time of the patient in a day in 24-hour format, usual bedtime in 24-hour format, name of the eye drops and how many times you should apply it in a day. Assume the number inputs to be always in integers. Your output should print the times at which the eye drops are to be administered exactly as shown in the sample output. The times should be in a 24-hour format. See the sample input and output below to understand how to take your inputs and how to print your output. Sample Input 1: How many drops? 2 Waking Up time? 8 Bedtime? 23 Eye Drop name: Neopred How many times in a day? 6 Eye Drop name: Besibac How many times in a day? 3 Sample Output 1: ***************************************** The Eye drop times are given below: Neopred : 8:00, 10:00, 12:00, 14:00, 16:00, 18:00 ============================== Besibac : 8:00, 13:00, 18:00 ============================== Sample Input 2: How many drops? 2 Waking Up time? 8 Bedtime? 23 Eye Drop name: Freshfil How many times in a day? 4 Eye Drop name: NCL How many times in a day? 6 Sample Output 2: ***************************************** The Eye drop times are given below: Freshfil : 8:00, 11:00, 14:00, 17:00 ============================== NCL : 8:00, 10:00, 12:00, 14:00, 16:00, 18:00
Please do it as soon as possible in python3
Question: 1
Your inputs should be the number of eye drop medicines, usual waking up
time of the patient in a day in 24-hour format, usual bedtime in 24-hour
format, name of the eye drops and how many times you should apply it in a
day. Assume the number inputs to be always in integers.
Your output should print the times at which the eye drops are to be
administered exactly as shown in the sample output. The times should be in
a 24-hour format. See the sample input and output below to understand how
to take your inputs and how to print your output.
Sample Input 1:
How many drops? 2
Waking Up time? 8
Bedtime? 23
Eye Drop name: Neopred
How many times in a day? 6
Eye Drop name: Besibac
How many times in a day? 3
Sample Output 1:
*****************************************
The Eye drop times are given below:
Neopred :
8:00, 10:00, 12:00, 14:00, 16:00, 18:00
==============================
Besibac :
8:00, 13:00, 18:00
==============================
Sample Input 2:
How many drops? 2
Waking Up time? 8
Bedtime? 23
Eye Drop name: Freshfil
How many times in a day? 4
Eye Drop name: NCL
How many times in a day? 6
Sample Output 2:
*****************************************
The Eye drop times are given below:
Freshfil :
8:00, 11:00, 14:00, 17:00
==============================
NCL :
8:00, 10:00, 12:00, 14:00, 16:00, 18:00
==============================
Step by step
Solved in 2 steps with 3 images