HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by athoune | Hacker News Reader
Parent
Full thread
athoune
·
Fixed.
Thanks for the help.
View on HN
gus_massa
·
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".
athoune
·
Test added :
https://github.com/athoune/crack-my-math-captcha/commit/caab...
Reply on news.ycombinator.com