79318651

Date: 2024-12-30 21:30:28
Score: 1.5
Natty:
Report link

I needed a 6 digit integer with no zeroes so I did this:

Enum.map(0..5, fn _ -> Enum.random(1..9) end) |> Integer.undigits

I wouldn't use this for anything large, but I consider it acceptable for a few digits and infrequent use.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Eric Young