Test task "Elevetor"
To simulate elevator workflow. Elevator should include such features like highest floor, capacity, ability to go up and down.
Number of floors randomly genetated in range 5 <= n <= 20. On each floor could be 0 <= k <= 10 people who wants to go Up or down. Destination generated randomly within available loors. After elevetor reaches the top floor it goeas down. If it reaches the highest destination floor which is not the top floor direction selected by mojority of pasangers desire destination.
Run lift.py Script works on infinitive loop. It sends elevetor up and down. To STOP press Ctrl C.