Last active
July 5, 2021 03:28
-
-
Save mikeMoreno/5cb09fe68682473ee4375c1d3fa098b1 to your computer and use it in GitHub Desktop.
Medium/Python is a Bad Programming Language/Python 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Car: | |
def __init__(self): | |
self.color = "red" | |
self.wheels = 4 | |
def get_wheels(self): | |
return f"{self.wheels}!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment