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!
Latihan ini adalah bagian dari kursus
Intermediate Object-Oriented Programming in Python
Latihan interaktif praktis
Cobalah latihan ini dengan menyelesaikan kode contoh berikut.
class Computer:
# Create an __init__() method with the storage parameter
____ ____(____, ____):
self.storage = storage