This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ''' | |
| Simple Elevator Simulator | |
| This is my main project for Programming and Algorithms Semester 2 as outlined next . Your task is to implement the simple elevator in Python using classes. | |
| The default strategy is the simple "start at the bottom, go to the top, then go to the bottom". Can you write a better strategy, one that is more efficient? | |
| Project Description / Specification | |
| Create three classes: Building, Elevator, and Customer. | |
| Equip the building with an elevator. Ask user to customize the number of floors and the number of customers. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ''' | |
| Simple Elevator Simulator | |
| This is my main project for Programming and Algorithms Semester 2 as outlined next . Your task is to implement the simple elevator in Python using classes. | |
| The default strategy is the simple "start at the bottom, go to the top, then go to the bottom". Can you write a better strategy, one that is more efficient? | |
| Project Description / Specification | |
| Create three classes: Building, Elevator, and Customer. | |
| Equip the building with an elevator. Ask user to customize the number of floors and the number of customers. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ''' | |
| Simple Elevator Simulator | |
| This is my main project for Programming and Algorithms Semester 2 as outlined next . Your task is to implement the simple elevator in Python using classes. | |
| The default strategy is the simple "start at the bottom, go to the top, then go to the bottom". Can you write a better strategy, one that is more efficient? | |
| Project Description / Specification | |
| Create three classes: Building, Elevator, and Customer. | |
| Equip the building with an elevator. Ask user to customize the number of floors and the number of customers. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ''' | |
| Simple Elevator Simulator | |
| This is my main project for Programming and Algorithms Semester 2 as outlined next . Your task is to implement the simple elevator in Python using classes. | |
| The default strategy is the simple "start at the bottom, go to the top, then go to the bottom". Can you write a better strategy, one that is more efficient? | |
| Project Description / Specification | |
| Create three classes: Building, Elevator, and Customer. | |
| Equip the building with an elevator. Ask user to customize the number of floors and the number of customers. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ''' | |
| Simple Elevator Simulator | |
| This is my main project for Programming and Algorithms Semester 2 as outlined next . Your task is to implement the simple elevator in Python using classes. | |
| The default strategy is the simple "start at the bottom, go to the top, then go to the bottom". Can you write a better strategy, one that is more efficient? | |
| Project Description / Specification | |
| Create three classes: Building, Elevator, and Customer. | |
| Equip the building with an elevator. Ask user to customize the number of floors and the number of customers. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ''' | |
| Simple Elevator Simulator | |
| This is my main project for Programming and Algorithms Semester 2 as outlined next . Your task is to implement the simple elevator in Python using classes. | |
| The default strategy is the simple "start at the bottom, go to the top, then go to the bottom". Can you write a better strategy, one that is more efficient? | |
| Project Description / Specification | |
| Create three classes: Building, Elevator, and Customer. | |
| Equip the building with an elevator. Ask user to customize the number of floors and the number of customers. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ''' | |
| Simple Elevator Simulator | |
| This is my main project for Programming and Algorithms Semester 2 as outlined next . Your task is to implement the simple elevator in Python using classes. | |
| The default strategy is the simple "start at the bottom, go to the top, then go to the bottom". Can you write a better strategy, one that is more efficient? | |
| Project Description / Specification | |
| Create three classes: Building, Elevator, and Customer. | |
| Equip the building with an elevator. Ask user to customize the number of floors and the number of customers. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| author = 'Alan Doonan' | |
| import random | |
| import time | |
| import tkinter | |
| class Building: # defines class building | |
| number_of_floors = 0 # sets number_of_floors variable to 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| author = 'Alan Doonan' | |
| import random | |
| import time | |
| class Building: # defines class building | |
| number_of_floors = 0 # sets number_of_floors variable to 0 | |
| customer_list = [] # creates an empty list for customers in building | |
| waiting_list = [] # creates an empty list for customers waiting on elevator | |
| finished_list = [] # creates an empty list for customers finished with the elevator and who have reached their destinatio |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| author = 'Alan Doonan' | |
| import random | |
| import time | |
| class Building: # defines class building | |
| number_of_floors = 0 # sets number_of_floors variable to 0 | |
| customer_list = [] # creates an empty list for customers in building | |
| waiting_list = [] # creates an empty list for customers waiting on elevator |
NewerOlder