Question: please guve solution to both PYTHON problems ASAP A cultural fest is conducted various events are organized, top winners of the events are listed. Find
please guve solution to both PYTHON problems ASAP
A cultural fest is conducted various events are organized, top winners of the events are listed. Find the overall trophy winner who has participated in all the events and won at least three First prize or second prize.
For example :
Top 5 winners in each event
{A, B, C, D, E}
{A, C, G ,J,K}
{H,O,M,C, A}
{A, M, C, B, E}
{E, B, A, F, L}
Output : A ( found in all events, won 3 first prizes)
A Bank locker is maintained by a locker man Mr. A. Every time when a person enters or leaves the locker room, a locker-pass-id is recorded in the door. Each customer can access the locker at the maximum of two times, but the locker man can enter the room and leave it for any number of time in assisting the customers on request.
From the sequence of the id provided as per the door recording:
a) Find the customers who are inside the locker room and who has left.
b) Find the id of Mr.A
ex:
105,101,102,105,103,101,104,101,105,104,101,103,102,101
Customers inside the locker:105
Id of locker man:101
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
