Spaces:
Sleeping
Sleeping
Download car.py from lemosryan007/deep_research: direct link, hf CLI and curl.
- Browser
- Download file 221 Bytes
-
https://huggingface.co/spaces/lemosryan007/deep_research/resolve/main/car.py
- Command line
-
hf download hf://spaces/lemosryan007/deep_research/car.py
-
curl -L -o car.py https://huggingface.co/spaces/lemosryan007/deep_research/resolve/main/car.py
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() | |