• A_Very_Big_Fan@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 months ago

    It’s been a fat minute since I last did any programming outside of batch scripts and AHK… I’m struggling to understand how it’s not returning false for 100% of the tests

    • RAM@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      6 months ago

      It is always returning false, but the screen shows a test, where a non-prime evaluating as false is a pass and a prime evaluating as false is a fail :))