'Jungle Camping' task in Code Coach | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

'Jungle Camping' task in Code Coach

Edit:Thank you for the help, Igor Kostrikin! I recently started the lessons for python and am still kinda new to programming. I made this code and although it may not be the best, it does give the right outcome. However, I am failing the three hidden parts of the test and I am unsure what to do now. Can somebody help me out? https://code.sololearn.com/ctpSpktp4d0p/?ref=app

7th Jan 2020, 4:19 PM
Selcouth
Selcouth - avatar
1 Answer
+ 3
print(animals[i], end=" ") or you can generate new string in for loop and make output by single print.
7th Jan 2020, 4:28 PM
Igor Kostrikin
Igor Kostrikin - avatar