IniziaInizia gratis

Creating and using classes

To help recall the fundamentals of object-oriented programming, you'll create a Computer class from start-to-finish. Good luck!

Questo esercizio fa parte del corso

Intermediate Object-Oriented Programming in Python

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

class Computer:
  # Create an __init__() method with the storage parameter
  ____ ____(____, ____):
    self.storage = storage
Modifica ed esegui il codice