+ 9

[ASSIGNMENT] BEAN MACHINE

task in this challenge is to create simulation of bean machine or quincunx,which is consists of an upright board with evenly spaced nails in triangular form. balls are dropped from the opening of the board. every time a ball hit a nail, it goes left or right. balls are accumulated in the slots. write a problem which takes as input number of balls and slots and then guess the numbers of balls in each slots. Good luck. https://code.sololearn.com/c3zFTSaXT3Az/?ref=app

10th Feb 2018, 2:16 PM
wolfsan
wolfsan - avatar
3 Answers
+ 2
Do you mean something like that ? https://code.sololearn.com/WaybIcSwRifj/?ref=app
10th Feb 2018, 3:32 PM
Î‘Î·Ï„ÎżÎčπe
Î‘Î·Ï„ÎżÎčπe - avatar
11th Feb 2018, 9:52 PM
CĂ©pagrave
CĂ©pagrave - avatar
25th Feb 2018, 3:42 AM
Alex
Alex - avatar