Spaces:
Sleeping

deep_research / car.py
lemosryan007's picture
Upload folder using huggingface_hub
f233663 verified
Raw History Blame Contribute Delete
221 Bytes
class Car:
def __init__(self, brand, color):
self.brand=brand
self.color=color
def drive(self):
print(f"The {self.color} {self.brand} is driving")
my_car=Car("Tesla", "red")
my_car.drive()