Skip to content

Instantly share code, notes, and snippets.

@MrDMurray
Created September 26, 2016 18:26
Show Gist options
  • Save MrDMurray/251694692a38e837c9a393bf8a13869b to your computer and use it in GitHub Desktop.
Save MrDMurray/251694692a38e837c9a393bf8a13869b to your computer and use it in GitHub Desktop.
STJLOL-DMU-Functions, Strings:
def epicINATOR(word): #defines the function
print(word+"???") #prints it back with some question marks
print("more like...")
yoke = word+"INATORRRRR!!!" #adds INATORRR to the word you type in
yoke = yoke.upper() #makes is UPPER CASE
print(yoke)
print("THE ROMAN GOD OF " + word.upper() +"ING!") #sticks the result in a sentance
while True:
epicINATOR(input("Giveth me a word mortal.. ")) #calls the function with a user input as it's value
"""
OUTPUT LOOKS LIKE THIS>>>
Giveth me a word mortal.. milk
milk???
more like...
MILKINATORRRRR!!!
THE ROMAN GOD OF MILKING!
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment