Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Random solution in Creative category for I Love Python! by ludek.reif
import random
FIRST_WORD = ("You", "I", "We", "They", "He", "She", "It")
SECOND_WORD = ("like", "love", "hate", "play", "write")
LAST_WORD = ("Ruby", "C++", "PHP", "Pascal", "Perl", "Python")
def i_love_python():
while True:
text = " ".join((random.choice(FIRST_WORD), random.choice(SECOND_WORD), random.choice(LAST_WORD))) + '!'
if text == "I love Python!":
return text
Feb. 1, 2016