Find Jobs
Hire Freelancers

A python exersize

€8 EUR

Completato
Pubblicato circa 6 anni fa

€8 EUR

Pagato al completamento
I don't know much Python, but I'd like to see an idea of a mini-project. I want you to create a home appliance catalog program consisting of 7 classes: The catalog class must: - generate 4 attributes (price, consumption, producer and product_code) - to populate a global variable with a list of objects on each created object - it must generate two variables of the class called class and subclass that represent the class of equipment (eg "small appliances" or "large home appliances") and the equipment sub-class (ex "mixer"). These will be used to find all objects of a particular class / subclass from the list of global objects. - allow sorting of global list items by price - allow sorting of items from the global list after consumption - Allow display of all objects from a producer - allow the display of all objects in a subclass - a search after a character string given by the keyboard user The Large_Appliances Class will inherit the catalog -Create a home appliance catalog program consisting of 7 classes: The catalog class must: - generate 4 attributes (price, consumption, producer and product_code) - to populate a global variable with a list of objects on each created object - it must generate two variables of the class called class and subclass that represent the class of equipment (eg "small appliances" or "large home appliances") and the equipment sub-class (ex "mixer"). These will be used to find all objects of a particular class / subclass from the list of global objects. - allow sorting of global list items by price - allow sorting of items from the global list after consumption - Allow display of all objects from a producer - allow the display of all objects in a subclass - a search after a character string given by the keyboard user The Large_Appliances Class will inherit the catalog -at creation the object to request all the attributes of the parent class (catalog) and other attributes: depth, width and height. The three deep attributes, height and height will populate with text input from the keyboard when running the program (raw_input or input parameter) The Small_Appliances Class will inherit the catalog -at creation the object to request all the attributes of the parent class (catalog) and other attributes: cable length and battery The three string and battery length attributes will populate with text entered from the keyboard when running the program (raw_input or input parameter) The Refrigerator Class will inherit Large_Appliances -at creation the object to request all attributes of the grandfather class (catalog) and parent Large_Appliances, but also other attributes: freezer capacity and fridge capacity. The two attributes freezer_capacity and fridge_capacity will populate with text entered from the keyboard when running the program (raw_input or input parameter) -Populate the variable of the class called class with the string << Large Appliances >> and the variable of the class called the subclass with the string << Refrigerator >> The Stove Class will inherit Large_Appliances -at creation the object is to request all the attributes of the grandfather class (catalog) and parent Large_Appliances, but also attribute burners_number. The parental attribute is populated with text entered from the keyboard when running the program (raw_input or input parameter) -Populate the variable of the class called class with the string << Large Appliances >> and the variable of the class called the subclass with the string << Stove >> I couldn't fit everything so i added a word document. Thanks!
Rif. progetto: 16139197

Info sul progetto

1 proposta
Progetto a distanza
Attivo 6 anni fa

Hai voglia di guadagnare un po'?

I vantaggi delle offerte su Freelancer

Imposta il tuo budget e le scadenze
Fatti pagare per il lavoro svolto
Delinea la tua proposta
La registrazione e le offerte sui lavori sono gratuite
Assegnato a:
Avatar dell'utente
I have a good hands-on (approx 1 yr) experience in python language and had done few projects using python.
€12 EUR in 5 giorni
0,0 (0 valutazioni)
0,0
0,0

Info sul cliente

Bandiera: ROMANIA
Romania
0,0
0
Membro dal gen 23, 2018

Verifica del cliente

Grazie! Ti abbiamo inviato tramite email il link per richiedere il tuo bonus gratuito.
Non è stato possibile inviarti l'email. Riprova per piacere.
di utenti registrati di lavori pubblicati
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Caricamento anteprima
Autorizzazione per la geolocalizzazione concessa.
La tua sessione è scaduta ed è stato effettuato il log out. Accedi nuovamente per piacere.