Skip to main content
4 of 5
edited body
mbomb007
  • 23.5k
  • 7
  • 63
  • 135

#Retina, 5 bytes

Outputs 1 if right, 0 if left.

^ *##

Try it online


If the values for a positive result didn't have to be distinct (5 bytes):

Outputs a positive integer if right, zero if left.

## +#

Try it online

mbomb007
  • 23.5k
  • 7
  • 63
  • 135