Comment

Comment by 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".
parent gus_massa 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton