0
Which input it's not taking?
https://www.sololearn.com/coach/60?ref=app What is the bug here? The 5th task isn't success, it's a problem from community practice .
2 Answers
+ 3
we cannot see your code. put it in a script on sololearn playground and link it
+ 2
Here's the guide for posting a code:
https://sololearn.com/compiler-playground/Wek0V1MyIR2r/?ref=app
You could check some random combinations to see what your code does. Make sure it outputs the answer correctly, match Capitalisation and any possible punctuation.
Also, pay attention that if you have more than 7 carrots which can't be put into boxes, you can still make a cake... you'll just hace carrots left over, but that doesn't need to be printed.