question archive A hospital is the most sensitive place from where the COVID case may increase
Subject:Computer SciencePrice: Bought3
A hospital is the most sensitive place from where the COVID case may increase. To maintain the social distancing, you are required to arrange seating of patients at a distance in the waiting area.
Patient need to provide his following details such as number, age, name. After providing details, an auto generated token number will be assigned to the patient for the appointment of the doctor.
A patient need to choose his seat number in between 1 to 50 in the waiting area to see the doctor.
In order to maintain SoPs, there should be the distance of two seats in between.
For example, if seat # 2 is occupied then seat # 3 and seat # 4 should be disabled to maintain social distancing.
You have to create multiple patient record, at least 10 patient and 2 doctors must be recorded.
Use any structure such as List, dictionary, sets, or tuple to maintain the record detail.