Given a dictionary taken as a fruit basket containing different types of fruits (keys) and their quantities (values), return a fruit picked from the basket according to its probability.
What is the graftedlife/Fruit_Basket_Question GitHub project? Description: "Given a dictionary taken as a fruit basket containing different types of fruits (keys) and their quantities (values), return a fruit picked from the basket according to its probability. ". Written in Python. Explain what it does, its main use cases, key features, and who would benefit from using it.
Question is copied to clipboard — paste it after the AI opens.
Clone via HTTPS
Clone via SSH
Download ZIP
Download master.zipReport bugs or request features on the Fruit_Basket_Question issue tracker:
Open GitHub Issues