• Lucy :3@feddit.org
    link
    fedilink
    arrow-up
    10
    ·
    16 hours ago

    First of all, 1 in n. Second, 0…6 has amount 7 (len(0, 1, 2, 3, 4, 5, 6) == 7), so therefore 1/7.

    Also,

    • Ptsf@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      16 hours ago

      Fair, I was trying to be cheeky and here you are shutting me up with a compiler level “nope”. Take your +1.