0

Jungle camping

I solved the task with Replace() method, it passed all tests... But for some reason it isn't feels right. So. Is there any reason for this way to solve the problem to be not optimal? https://code.sololearn.com/crBaHqaF188j/?ref=app

19th Oct 2022, 12:47 AM
Kinn “Ukkio” Er
Kinn “Ukkio” Er - avatar
3 Answers
+ 3
This is the best way to solve problem in few lines doesn't matter which method you used.
19th Oct 2022, 2:35 AM
A͢J
A͢J - avatar
+ 1
Thank you for answer!
19th Oct 2022, 7:23 AM
Kinn “Ukkio” Er
Kinn “Ukkio” Er - avatar
0
As long as you solved it, it’s great, because it means you don’t have any grammar mistakes
19th Oct 2022, 9:24 AM
Michaelol
Michaelol - avatar