houses = int(input())
#your code goes here
10/25/2021 1:19:26 PM
Cause you need to round up and for that you will need to use the math.ceil() function
#replace the round(x)
Hope this helps!
Can u plz define the question for dat program?
Thanks it worked but I don't understand why the round (x) didn't work
Actually round(x) worked for 1st two test but It didn't work for the hidden tests
You need to round up but the round function will not always round up. It rounds to the nearest integer.
round(2.6) = 3
round(2.4) = 2
☝️ that's called round up 🤦
Facing same issue my code not working pls help
Use math.ceil() instead of round()as he told
Round(x,0) ?? Idk but just try
Send us a message