Seven-sided dice from five-sided dice: Difference between revisions
Seven-sided dice from five-sided dice (view source)
Revision as of 19:18, 26 October 2015
, 8 years ago→{{header|Sidef}}: modified the code to work with the latest version of Sidef
m (→{{header|Forth}}: Fix 'works with') |
m (→{{header|Sidef}}: modified the code to work with the latest version of Sidef) |
||
Line 1,559:
var count7 = Hash.new;
var n = 1e6;
n.times { count7
count7.keys.sort.each { |k|
printf("%s: %5.2f%%\n", k, 100*(count7
}
{{out}}
|