0
How can my solve the Halloween candy challenge?
3 Answers
+ 2
Read the instructions, it is clearly stated there. Or show us your attempt so far so we may help you. thanks.
+ 2
import math
houses = int(input())
print(math.ceil(2/Houses*100))
Based on the problem, we need to round off our number to smallest larger integer, i.e ceiling and to be able to do this, we need first to import math module then use its function "math.ceil"
+ 1
houses = int(input())
#your code goes here
print(2*100/houses)