Why this code don't clear all test cases for popsicles Challenge. | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Why this code don't clear all test cases for popsicles Challenge.

https://code.sololearn.com/cEB92NQZb9I9/?ref=app

21st Jul 2020, 4:20 PM
Karim Fadi
Karim Fadi - avatar
2 Respostas
+ 5
Your inputs are backwards. numOfPeople should be first. Line 16 should be before line 14.
21st Jul 2020, 4:26 PM
ChaoticDawg
ChaoticDawg - avatar
+ 1
ChaoticDawg wow it worked thanks.
21st Jul 2020, 4:28 PM
Karim Fadi
Karim Fadi - avatar