Difference between revisions of "User:TheyCallMeTim13"
Jump to navigation
Jump to search
Line 44: | Line 44: | ||
<span style="color:rgb(249, 38, 114);">if</span> <span style="color:rgb(249, 38, 114);">self</span>.sad(): | <span style="color:rgb(249, 38, 114);">if</span> <span style="color:rgb(249, 38, 114);">self</span>.sad(): | ||
− | + | Sad.stop(<span style="color:rgb(249, 38, 114);">self</span>) | |
print(<span style="color:rgb(249, 38, 114);">self</span>.smile()) | print(<span style="color:rgb(249, 38, 114);">self</span>.smile()) | ||
<span style="color:rgb(249, 38, 114);">self</span>.dontWorry() | <span style="color:rgb(249, 38, 114);">self</span>.dontWorry() |
Revision as of 17:20, 29 December 2017
Code Happy, Code Freely, Be Awesome.
class Person(Parents): ## "Life is really simple, ## but we insist on making it complicated." ## - Confucius def life(self): while self.alive(): find(self) self.learn(World, People, Books) self.teach(All) if self.sad(): Sad.stop(self) print(self.smile()) self.dontWorry() self.beHappy() self.beAwesome() self.code()