Friday, March 13, 2015

Solution to elevator problem in Python

The problem is stated here: http://acm.epoka.edu.al:8080/en/problem-pid-c4f1?ps=1&smt=a&smpwid=0
The python solution that will give output after each elevator run and numbers of floors climbed is shown here: http://www.codeskulptor.org/#user39_ilIQrryKcfHmNQ3.py