0

Stuck on the countdown problem

I almost got it but the Beep text should be appearing after each number divided by 5, instead it appears before those numbers and I can't understand why. I'd appreciate not the exact solution but an explanation on why that is. Thank you in advance. https://code.sololearn.com/cZ7SNVjbX741/?ref=app

24th Sep 2022, 4:49 PM
Liana Willow
Liana Willow - avatar
1 Odpowiedź
+ 1
Read the output format properly you have to print something like that Suppose input is 12 then 12 11 10 it's divisible then Beep Your decrement should be after condition
24th Sep 2022, 4:57 PM
A S Raghuvanshi
A S Raghuvanshi - avatar