0
jungle camping (code coach)
I'm stuck, 2 test cases work and can't see why the others do not work https://code.sololearn.com/cmx7JXgdSbjo/?ref=app
4 Antworten
+ 2
Your code does not work if you enter three animal sounds.
-> b is not defined (you define it only if len == 2)
And you can get more than 3 sounds so I would use a loop.
+ 1
thank you both for answering, gonna try again.
+ 1
solved it 😁
+ 1
madelon Congrats :)