News for hackers. Stuff that matters.
Re:Captcha Challenge: write code that allows a robot to solv... by gus_massa on Friday October 03, 2025 @10:20PM (#45469984)
a few typos in https://github.com/athoune/crack-my-math-captcha/blob/main/c...

In the initial table, the numbers with 8 are misspelled "height", "heighteen" and "heighty", that have a unexpected "h".

Near line 42 you have to check if b is zero, otherwise it prints something like "twenty zero" instead of "twenty".

Re:Captcha Challenge: write code that allows a robot to solv... by athoune on Saturday October 04, 2025 @07:26AM (#45472525)
Fixed.

Thanks for the help.

Re:Captcha Challenge: write code that allows a robot to solv... by gus_massa on Saturday October 04, 2025 @07:48AM (#45472632)
Nitpicking:

      if op in "-/" and a < b:
          b, a = a, b
I think you have to swap only for "-", because / shows to the user the pair "a*b" and "a".
Re:Captcha Challenge: write code that allows a robot to solv... by athoune on Saturday October 04, 2025 @09:33AM (#45473207)