News for hackers. Stuff that matters.
Re:Show HN: Astro-Bot – A programming question with every ne... by svet_0 on Tuesday October 30, 2018 @04:56AM (#18334851)
Pretty cool! However, some riddles are incorrect, for example this one has two errors:

  def foo( vals ):
    output = vals[0]
    for x in vals[1:]:
      if output < x:
        output = x
    return x
1. It should return output

2. The answer should be "The maximum value", not "The minimum value"

Also, it could be nice if after you solve a riddle you would get a new one.

Re:Show HN: Astro-Bot – A programming question with every ne... by hadeon on Tuesday October 30, 2018 @05:40AM (#18335040)
Thanks for pointing this out! It's fixed now