Anonymous user
Prime conspiracy: Difference between revisions
m
→{{header|Racket}}
(+Racket) |
|||
Line 1,863:
(match-define (cons (cons x y) freq) item)
(printf "~a → ~a count: ~a frequency: ~a %\n"
x y (~a freq #:min-width 8 #:align 'right) (~r (* 100 freq (/ 1 limit)) #:precision '(= 2))))</lang>
{{out}}
|