作弊骰子:出現 1、2、3 的機率是 4、5、6 的 1.1 倍

Run Settings
LanguageRaku
Language Version
Run Command
my %count; my @face = ( loop { 1 + [%] (rand * 100).round(1) , 63 , 6 } )[ ^100000 ]; %count{ $_ }++ for @face; say %count; "1.2.3的總數除以4.5.6的總數 = { ([+] %count{1..3} ) / ([+] %count{4..6}) }".say;
Editor Settings
Theme
Key bindings
Full width
Lines