Find Jobs
Hire Freelancers

Python - simple elevator simulator

€30-250 EUR

Geschlossen
Veröffentlicht vor mehr als 7 Jahren

€30-250 EUR

Bezahlt bei Lieferung
Task 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". You don't have to use this, you can take an alternative approach such as random start location for the elevator. 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. Program should have error checking to make sure the user inputs are valid. For example, if a user gives non-integer inputs, notify the user that the inputs are incorrect and prompt again. Each customer starts from a random floor, and has a random destination floor. Each customer will use the elevator only once, i.e., when a customer moves out of the elevator, he/she will never use it again. When all customers have reached their destination floor, the simulation is finished. All classes’ methods require a docstring for a general description of the method. Don’t use any global variables. Notes and Hints In your main function, at the beginning ask the user for the number of floors and the number of customers which can be used to create an instance of Building. Then we only need to call a run method and an output (such as __str__ or __repr__) method repeatedly in a while loop. Randomly select the floors (to and from) for each customer. Use the randint function from the random module. To estimate the efficiency of strategy, count the number of floors visited for your strategy. Make a demo to create usable output from your simulation.
Projekt-ID: 12184566

Über das Projekt

10 Vorschläge
Remote Projekt
Aktiv vor 7 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
10 Freelancer bieten im Durchschnitt €90 EUR für diesen Auftrag
Avatar des Nutzers
Hi ... I have done many simulation projects. And this particular project I have it ready ... I am certified in Python by Freelancer. Hire me :) Hola... Yo he realizado muchos proyectos de simulación. Y ese proyecto en particular lo tengo listo... Estoy certificado en Python por Freelancer. Hagamos el proyecto :)
€30 EUR in 1 Tag
5,0 (96 Bewertungen)
6,6
6,6
Avatar des Nutzers
Hi Sir/Madam, I'm expert in Python programming and I can help You with this task. Best regards, Fejs.
€45 EUR in 1 Tag
4,9 (139 Bewertungen)
6,3
6,3
Avatar des Nutzers
Hi there, I would like to do this project if given the opportunity. Let me know if you are interested so I can have further details. Thanks.
€34 EUR in 1 Tag
4,9 (36 Bewertungen)
4,8
4,8
Avatar des Nutzers
Hi, I am competitive to this kind of task, can take good care of this project. In fact, I already done related to this job before. Let me know the best of your time so we can discuss further based on your requirements and we can move forward to the next step. Thanks, Joseph C Ocero
€149 EUR in 2 Tagen
4,8 (19 Bewertungen)
4,8
4,8
Avatar des Nutzers
I've written a elevator simulator with GUI(QT5) for my course project, which can handle multiple elevator and multiple user. Also, I'm working in Discovering Investment(Shanghai), a diversified asset management firm located in Shanghai. My team is doing Quantitative Investment, and my work is to apply machine learning method to our business so as to make informed investment decisions.
€135 EUR in 3 Tagen
5,0 (1 Bewertung)
2,3
2,3
Avatar des Nutzers
Hello! I have a big experience using python and can easily make your task. But I have a few questions. Write to me,if you are agree,and and we will discuss them.
€55 EUR in 3 Tagen
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
Hi, I can create Python application for this task. With classes, etc. Please contact me if interested. Thank you.
€155 EUR in 1 Tag
0,0 (0 Bewertungen)
0,0
0,0

Über den Kunden

Flagge von MEXICO
Mexico
0,0
0
Mitglied seit Nov. 25, 2016

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.