Anonymous user
Numbers with same digit set in base 10 and base 16: Difference between revisions
Numbers with same digit set in base 10 and base 16 (view source)
Revision as of 11:30, 8 July 2022
, 1 year ago→{{header|OCaml}}
(Add OCaml) |
|||
Line 611:
List.iteri (fun i x ->
Format.printf "%6d:%#8x%s" x x (if i mod 6 = 5 then "\n" else " ")) same_digits;
print_newline ()</lang>
{{out}}
|