+ 2

Help me with phyton

https://www.sololearn.com/coach/4?ref=app In this challenge my answer is: houses = int(input()) print(int(round((2/houses)*100))) First two test cases are correct 💯, others are incorrect 😔 but they are locked 🔐. So I can't figure out the problem 😕. Please help me.

30th Apr 2024, 7:26 AM
S 22004459 kithursana karunakaran
S 22004459 kithursana karunakaran - avatar
2 Respuestas
+ 5
As the output format required, "a percentage value ROUNDED UP..."
30th Apr 2024, 8:26 AM
Wong Hei Ming
Wong Hei Ming - avatar
+ 5
import math library and use ceil instead of round.
30th Apr 2024, 11:43 AM
Gulshan Mahawar
Gulshan Mahawar - avatar