+ 1
Someone please help me find out what's wrong with this code:
If all but three houses I visited are giving out candy and two out of the three are giving out dollar bills what is the percentage chance that one Out of every item in the bag will be a dollar? https://code.sololearn.com/c1sAvz3H20UG/?ref=app
3 Antworten
+ 1
Pls Read description again carefully... You get idea where you missing surely.....
Take 2.0 instead of 2 //may be no difference in python but try to check if not successful with 2
Use ceil function not round and then print equalent Integer....( you need to round up means ceil the result)
+ 1
It worked buddy. Thanks.
0
John Ifegwu
You're welcome..