+ 3
Please help me out with this challenge
https://www.sololearn.com/coach/4?ref=app I couldn't understand this challenge. Can someone please rephrase the challenge in short so that I get it? Thanks!
4 Answers
+ 5
Number of houses that will be visited will be integer user input.Two from this houses will gives us dollars.so declare a variable that store this number divided by visited houses numbers then multiply it by 100 to get a percentage value.You have to import math module and learn about ceil method because the final output chould be ceiled.
+ 5
Using round will include decimals values but ceil or floor will only return integer values and is that what they wanted in the code coach. Rahul Hemdev
+ 3
HBhZ_C I believe round() will be better to round the percentage off
+ 3
HBhZ_C Yeah... You're right. Thanks a bunch!!!