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 odpowiedzi
+ 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