You are viewing a single comment's thread. Return to all comments →
most9 = 0 total_rolls = 0 for p in range(1,6+1): for q in range(1,6+1): if (p+q) <= 9: most9 += 1 total_rolls += 1 print(str((most9//6))+"/"+str((total_rolls//6)))
Seems like cookies are disabled on this browser, please enable them to open this website
Day 2: Basic Probability Puzzles #1
You are viewing a single comment's thread. Return to all comments →