0

Problem with Halloween Candk

houses = int(input()) percent = round(200 / houses) # houses = 100% # 2(houses with dollar) = x # x =(2 * 100) / houses print (percent ) Pls help!!!!!

10th Feb 2024, 12:06 AM
Justo Gonzalez
Justo Gonzalez - avatar
2 Antworten
+ 2
Justo Gonzalez , Round up. "Output Format A percentage value rounded up to the nearest whole number." Code Coach Halloween Candy (Easy) (not Pro) https://www.sololearn.com/coach/4?ref=app
10th Feb 2024, 12:37 AM
Rain
Rain - avatar
+ 1
https://www.sololearn.com/Discuss/3264151/?ref=app
10th Feb 2024, 1:08 AM
Solo
Solo - avatar