+ 1
Double or float or sth else? Halloween Candy challenge problem- answered! Thank you.
HeY there, SOMEHOW MY CODE IS FLAWED BECAUSE ONLY THE FIRST TWO TESTS ARE SUCCESSFUL. CAN ANYONE GIVE ME A HINT? THANK YOU :) https://code.sololearn.com/cnXHMx4M6EWn/?ref=app
4 Antworten
+ 4
This is what TheWh¡teCat 🇧🇬 is saying 👇
https://code.sololearn.com/cRAS0euy002r/?ref=app
+ 2
Andrebot AstRein , use ceil function instead of round. The description says "rounded up" which needs ceiling 🐱
+ 2
Yep, that did the magic! Interesring how a little word changes everything... :)
0
Alright, I‘ll try that. Thanks everyone!