+ 1
[Answered] Jungle Camping Python3
I was trying the code coach problem but the test cases 2 to 5 are not right. My output is the same as the required output but here I am. Here is my code: noises = { "Grr": "Lion", "Rawr": "Tiger", "Ssss": "Snaķe", "Chirp": "Bird" } noises_herd = input() print(" ".join([noises[noise] for noise in noises_herd.split()]))
3 Respostas
+ 1
What is the cherecter you used in 'Snake '..? It's not a 'k'.. Something else.
Use the correct 'k' in 'Snake'
+ 2
Your code is correct. Fix the letter ķ to normal k
0
Ok thank u both very much! :D