Can any one plz explain me this question plz. I only want explanation, no code plz | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can any one plz explain me this question plz. I only want explanation, no code plz

You go trick or treating with a friend and all but three of the houses that you visit are giving out candy. One house that you visit is giving out toothbrushes and two houses are giving out dollar bills.

1st Apr 2020, 8:47 PM
Samar Fatima
Samar Fatima - avatar
7 Answers
+ 1
it's a code coach. basically what they mean is that, all the houses you will visit will give you candies except three: two of them will give you dollars bill, and one, toothbrushes.
1st Apr 2020, 9:21 PM
John Robotane
John Robotane - avatar
+ 3
okay,
1st Apr 2020, 9:28 PM
Muhammad Faheem Nasir
Muhammad Faheem Nasir - avatar
+ 3
Samar Fatima now u got it?
1st Apr 2020, 9:30 PM
Muhammad Faheem Nasir
Muhammad Faheem Nasir - avatar
+ 2
Samar Fatima from where you get this?
1st Apr 2020, 8:59 PM
Muhammad Faheem Nasir
Muhammad Faheem Nasir - avatar
+ 2
It means When you or a person visits some friends houses, From 3 housees, person got or gifted a candy.. From One house, person gifted a toothbrush.. From 2 houses, you got dollars... Edit: Now input is given as number of houses you visited.. If one item is picked then what are the percentage of chances of coming out a dollar....
1st Apr 2020, 9:19 PM
Jayakrishna 🇮🇳
+ 2
Muhammad Faheem Nasir it is one of the Community challenges
1st Apr 2020, 9:27 PM
Samar Fatima
Samar Fatima - avatar
+ 2
Yea I get it, Thanks
1st Apr 2020, 9:33 PM
Samar Fatima
Samar Fatima - avatar