class Life(Soul):
def __init__(self, human features, soul, air, infinity, good, evil):
self.human = human
# etc etc
def life(self):
while life == True:
for moments in life:
if self.human.dreaming == True:
try:
self.human += reality
except HumanSleeping, err
return self.human
if readers == thought:
ReplyDeletereturn readers.feel_free_to_expand_this == True
This comment has been removed by the author.
ReplyDeletedef do_homework(self, work):
ReplyDelete....if work.due_date >= 3.days.from.now:
........return False
........
....if self.hunger >= 7:
........return False
....
....try:
........for i in range(work.difficulty * (work.due_date - today.date)):
............procrastinate()
............self.energy -= 1
............
........if self.energy > 0:
............work.do()
............return True
........else:
............return False
............
....except(DistractedByFriend):
........self.chill()
........return False
def procrastinate(self):
....
....if self.room.is_messy:
........self.clean(self.room)
....
....elif self.videos.unfinished_projects >= 1:
........self.videos.unfinished_projects[0].edit()
....
....else:
........read()