ComenzarEmpieza 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!

Este ejercicio forma parte del curso

Intermediate Object-Oriented Programming in Python

Ver curso

Ejercicio interactivo práctico

Prueba este ejercicio y completa el código de muestra.

class Computer:
  # Create an __init__() method with the storage parameter
  ____ ____(____, ____):
    self.storage = storage
Editar y ejecutar código