+ 6

Solution to the Jungle Camping challenge in Python

Hi. Anyone has a solution (Python) to the Jungle Camping challenge? Still can’t get my head around it. Thanks

1st Jan 2020, 12:00 PM
Joan GERARD
2 Respostas
+ 5
If we just give you the solution, we'll just spoil a perfect learning opportunity for you. Why don't you show us your attempt? We might be able to give you a little hint!
1st Jan 2020, 12:29 PM
HonFu
HonFu - avatar
0
Hi there. I am trying to solve Jungle Camping challenge in Python and have encountered some troubles. The simple way would be just using Strings. But I am trying to solve by creating a function with given key, value pairs... animal = { 'grr': 'lion', 'rawr': 'tiger', 'ssss': 'snake', 'chirp': 'bird' } and through the keys extract the values. Is it plausible? I might be making my life harder with it.
6th Sep 2021, 8:06 PM
Kubat
Kubat - avatar