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.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

need it urgently 

#python code

 

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:
*******R*t
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
Transcribed Image Text: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: *******R*t 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
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY