Second solution in Creative category for I love Python! by tom-tom
from re import findall
from random import choice
Why do I love Python?
return ' '.join([ # It's a fusion of:
"i".upper(), # your growth as a programmer,
'Dreadful Flying Glove'[-4:], # it has All You Need ...
findall('P.*?n',"Monty Python's Flying Circus") # ... if you know how to find,
+ choice('!!!!!!!!!!!!!!!')]) # and many other excellent things!
if __name__ == '__main__':
#These "asserts" using only for self-checking and not necessary for auto-testing
assert i_love_python() == "I love Python!"
June 10, 2016