oops
This commit is contained in:
parent
6a4d5c96e1
commit
2b54128444
1 changed files with 1 additions and 3 deletions
|
@ -1,5 +1,3 @@
|
|||
alphabet = ["a","b","c"]
|
||||
|
||||
def translate(data):
|
||||
data = data.lower()
|
||||
data = data.replace("meow","0").replace("mrrp", "1").replace("mreow", "2").replace("mrow", "3").replace(" ", "")
|
||||
|
@ -15,4 +13,4 @@ def translate(data):
|
|||
finalwordlist.append(''.join(lettersinword))
|
||||
return ' '.join(finalwordlist)
|
||||
catspeak = input("Please input the cat's words: ")
|
||||
print(translate(catspeak))
|
||||
print(translate(catspeak))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue