Last active
October 17, 2018 15:42
-
-
Save JackInTaiwan/dae7dcf393fbcd71638a148f9292c72f to your computer and use it in GitHub Desktop.
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 Shiba: | |
def __init__(self, height, weight): | |
self.height = height | |
self.weight = weight | |
@staticmethod | |
def pee(length): | |
print("pee" + "." * length) | |
Shiba.pee(3) | |
# Result > pee... | |
Shiba.pee(20) | |
# Result > pee.................... | |
black_shiba = Shiba(90, 40) | |
black_shiba.pee(10) | |
# Result > pee........... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment