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')
2 Respuestas
+ 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?
+ 1
If not and you like to see the solution, here is it:
https://code.sololearn.com/cFmV8ur34z6r/?ref=app