0

How can i to take away /t?

Hello guys, can you give an advice how can I to take away /t in this case?🤓🧐 THANKS EVERYONE 💙 s = input() a = s.split(" ") for x in a: if x == 'Grr': print("Lion") elif x == 'Rawr': print('Tiger') elif x == 'Ssss': print('Snake') elif x == 'Chirp': print('Bird')

15th Nov 2020, 4:45 PM
Low Poly Cat
Low Poly Cat - avatar
2 Antworten
+ 1
input: Rawr Chirp Ssss should gives output as follows Tiger Bird Snake. How works your code, do you know that? You can test it on SL Playground. Your code outputs: Tiger Bird Snake Can you make it?
15th Nov 2020, 5:12 PM
JaScript
JaScript - avatar
+ 1
If not and you like to see the solution, here is it: https://code.sololearn.com/cFmV8ur34z6r/?ref=app
15th Nov 2020, 5:21 PM
JaScript
JaScript - avatar