PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
x=str(input().split(" "))
animals=[]
for i in x:
if "Grr" in x:
animals.append("Lion")
elif "Rawr" in x:
animals.append("Tigger")
elif "Ssss" in x:
animals.append("Snake")
elif "Chrip" in x:
animals.append("Bird")
else:
continue
animals_j=" ".join(animals)
print(animals_j)
#need to split
#need to to make possible to show animals in different orders
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run