Permalink
Browse files

Display Random Quotes

  • Loading branch information...
1 parent c0325d6 commit b2e34aee112c6e02f9f248fea343e1e3abdbe939 @harishvc committed Dec 30, 2014
Showing with 10 additions and 0 deletions.
  1. +10 −0 RandomQuotes.py
View
@@ -0,0 +1,10 @@
+import random
+
+def RandomYodaQuotes():
+ foo = ['<i>Always pass on what you have learned.<br/>-Yoda</i>',
+ '<i>May the force be with you.<br/>-Yoda</i>',
+ '<i>When you look at the dark side, careful you must be. For the dark side looks back.<br/>-Yoda</i>',
+ '<i>You must unlearn what you have learned.<br/>-Yoda</i>',
+ '<i>Do or do not. There is no try.<br/>-Yoda</i>'
+ ]
+ return("<p>You've got me stumped!</p><br/>" + random.choice(foo))

0 comments on commit b2e34ae

Please sign in to comment.