Help for this page

Select Code to Download


  1. or download this
        #! /usr/bin/env perl6
        use v6;
    ...
                ($pos+1).fmt("%2d"),
                %score{@labels}.map( * / %score.total )».fmt("%.2f")
        }
    
  2. or download this
               A       B       C       D
        1      0.75    0.25    0.00    0.00
    ...
        3      0.25    0.50    0.25    0.00
        4      0.00    1.00    0.00    0.00
        5      0.00    0.25    0.50    0.25
    
  3. or download this
        my @data = < AABBC BAABC AABBD AECBBF >;
    
  4. or download this
               A       B       C       D       E       F
        1      0.75    0.25    0.00    0.00    0.00    0.00
    ...
        4      0.00    1.00    0.00    0.00    0.00    0.00
        5      0.00    0.25    0.50    0.25    0.00    0.00
        6      0.00    0.00    0.00    0.00    0.00    1.00