0
Can’t understand Code coach question
https://sololearn.com/coach/4/?ref=app I am unable to understand the question. I am not asking for solution but only an explanation. It is given that “all but three of the houses are giving candy.” Does this mean that in any number of houses the numbers of houses giving dolour bill is 2?
6 Respuestas
+ 7
Just 2 dollar bills in every test case...
The difference is how much houses in every test case
//just ignore the candy and the toothbrush too 😅
+ 5
One hint :
Just take an input and please set instead of your input.
import math
Math.ceil( 2 * 100 / #your input )
+ 5
Abhinav do
200.0
//Instead
//200
0
still doesn’t work. In test case 1 my output is 66, but it is asking 67. i used Math.round and Math.rint functions too but still doesn’t work