0
Duct tape
Hi, I’m failing only the fitfth test case. Does anyone have an idea for a fix? Thanks. https://code.sololearn.com/cdf7BVz6z1Wt/?ref=app
3 odpowiedzi
+ 1
Suppose you have 3.4 rolls as result. If you round it, it will be 3 rolls. However, now you have 0.4 ft**2 too few. So you would need to get 4 rolls (***round up***)
+ 3
What is your task? Can you share it full..?
edit:
instead round, try applying ceil
+ 1
Hey!
Why does the task say that tape is 60 feet long, cause it shuld be 60 inches long instead?
Because we devide 60 by 12 in the right code