From 80d5956eacdc1f48df4bd24fd85e6f23351257f7 Mon Sep 17 00:00:00 2001 From: Cory Dean Chung Date: Fri, 2 Feb 2024 19:37:05 -0500 Subject: [PATCH] Added methods to determine if there are at least n of a kind in a roll of five dice. Similar to what was done in this lab, classes could be used to simulate coin tosses. I imagine then that simple board games could be simulated easily using classes, too. --- __pycache__/die.cpython-311.pyc | Bin 0 -> 1021 bytes dice_stats.py | 42 ++++++++++++++++++++++++++++++-- poetry.lock | 6 ++--- 3 files changed, 43 insertions(+), 5 deletions(-) create mode 100644 __pycache__/die.cpython-311.pyc diff --git a/__pycache__/die.cpython-311.pyc b/__pycache__/die.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a49112a5ee3645574568227bc9cb27d8b2a2cf13 GIT binary patch literal 1021 zcmZuw&u=x@=uc^=D~@0~Ddh z3MfmHRoCs|>f7$VPo=Xr&&}7qEq(JvRW{6B+drsP4^7WHa4PTku~U1`%T-~U-f?-` ztXG`cL({e1a^aM1Q#f}1un`!XJ4kSTl0w1xX_Ua~{u)9Hu8q{E#K*)%vYk8+uQ91x z7>&jXN4t+s2WoR;H{ru9>Y~@5MMaQtd_1QFs$Y|Vwr`bf8TO?|vNDMn#5qS2)g>c! zVUR+`zlG3(AFFphKe~K;aoRo|7$be>Mr>y&X4Mr8!?gwm$wP1O%KA&;fssUpQ7qTqleu#kol|N#&{a3ekQk&ptt3}LKvxxu~7