Commit 7eec0afc authored by Siu, Pui Chung's avatar Siu, Pui Chung
Browse files

Add new file

parent 4cb650ba
def pig_it(text):
new = " "
text_list = text.split(" ")
for i in text_list:
if i in '!.%&?':
new += i
else:
new += i[1:] + i[0] + "ay" + " "
return new.strip(" ") #remove space
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment