Eh mah gerd converter
a guest Aug 3rd, 2012 541 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- # eh mah gerd program
- # (c)oded by ToXic73
- # email: email@example.com
- print 'Hi all, welcome to this program that will convert everything you say to an eh mah gerd statement.'
- num = int(raw_input('Enter how many statements you want to convert '))
- for x in range(num):
- word = raw_input('Enter the word you want to be \'eh mah gerd\'ed ')
- newword = ""
- for n in word:
- if (n == "a") or (n == "e") or (n == "i") or (n == "o") or (n == "u"):
- if newword[-2:] == "er":
- newword += "er"
- newword += n
- print 'eh mah gerd,' , newword
RAW Paste Data