Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

deleted 12 characters in body
Source Link
xnor
  • 149.6k
  • 26
  • 287
  • 676

Python 2, 3528 bytes

lambda n:-n%3-n/20<1>20<(n%20==3>n-41n%20!=3)

Try it online! Try it online!

Python 2, 35 bytes

lambda n:-n%3-n/20<1>(n%20==3>n-41)

Try it online!

Python 2, 28 bytes

lambda n:-n%3-n/20<(n%20!=3)

Try it online!

Source Link
xnor
  • 149.6k
  • 26
  • 287
  • 676

Python 2, 35 bytes

lambda n:-n%3-n/20<1>(n%20==3>n-41)

Try it online!

AltStyle によって変換されたページ (->オリジナル) /