#!/Earth/Asia/Japan
# -*- speaking: Japanese -*-
import sys, random
class EternalNewbieDeveloper:
def __init__(self):
self.name = "Hayato Tamura"
self.pronoun = "He"
self.age = 21
self.hobbies = ["watching anime", "playing casual game", "customizing terminal env"]
self.tiredness = 0
self.greet()
def greet(self):
print(f"Hi there! I'm {self.name} π")
def work(self):
print(f"{self.name} is developing something π§βπ»")
print(f"{self.pronoun} sometimes drinks coffee (fuel) to get going β")
self.tiredness += 40
def learn(self):
print(f"{self.name} is learning various technology stacks π")
print(f"{self.pronoun} is newbie and has a lot to learn πͺ")
self.tiredness += 30
def free_time(self):
print(f"{self.name} is {random.choice(self.hobbies)} π")
print(f"{self.pronoun} seems to be having a lot of fun β¨")
self.tiredness -= 20
def refresh(self):
print(f"{self.name} is comforted by small animals π₯°")
print(f"{self.pronoun} seems to be full of motivation π₯")
self.tiredness = 0
def update(self):
# I want to live a long and "happy" life :D
while self.age <= sys.maxsize:
random.choice([self.work, self.learn, self.free_time])()
if self.tiredness >= 100:
self.refresh()
ha8ta6 = EternalNewbieDeveloper()
ha8ta6.update()
πΌοΈ
This photo is of my pet cat, Mame-chan.
Small animals solve everything πππ
Popular repositories Loading
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.