Created
September 26, 2016 18:26
-
-
Save MrDMurray/251694692a38e837c9a393bf8a13869b to your computer and use it in GitHub Desktop.
STJLOL-DMU-Functions, Strings:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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