Difference between revisions of "User:TheyCallMeTim13"
Jump to navigation
Jump to search
(→External Links) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | [[File:Ufo-girl-square-100x100.jpg]] | ||
<!-- | <!-- | ||
Syntax Highlighter: | Syntax Highlighter: | ||
Line 30: | Line 31: | ||
</pre> --> | </pre> --> | ||
− | <p style="white-space:pre;font-family:'Lucida Console';display:block;overflow-x:auto;padding:0.5em;background:rgb(35, 36, 31);color:rgb(248, 248, 242);"><span style="color:rgb(249, 38, 114);">class</span> <span style="color:rgb(248, 248, 242);">Person</span>(<span style="color:rgb(248, 248, 242);">Parents</span>): | + | <p style="line-height:1.15em;white-space:pre;font-family:'Lucida Console';display:block;overflow-x:auto;padding:0.5em;background:rgb(35, 36, 31);color:rgb(248, 248, 242);"><span style="color:rgb(249, 38, 114);">class</span> <span style="color:rgb(248, 248, 242);">Person</span>(<span style="color:rgb(248, 248, 242);">Parents</span>): |
<span style="color:rgb(117, 113, 94);">## "Life is really simple, </span> | <span style="color:rgb(117, 113, 94);">## "Life is really simple, </span> | ||
<span style="color:rgb(117, 113, 94);">## but we insist on making it complicated."</span> | <span style="color:rgb(117, 113, 94);">## but we insist on making it complicated."</span> | ||
Line 43: | 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() | ||
Line 53: | Line 54: | ||
</p> | </p> | ||
− | |||
− | |||
− | |||
==== Syntax Highlighter ==== | ==== Syntax Highlighter ==== | ||
* [http://pinetools.com/syntax-highlighter pinetools.com/syntax-highlighter] | * [http://pinetools.com/syntax-highlighter pinetools.com/syntax-highlighter] |
Latest revision as of 21:30, 30 April 2018
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()