Skip to main content
added 2 characters in body
Source Link

K (oK), 16 bytes

`dark`light 2!+/

Try it online!

+/ sum the (code points of the) argument

2! mod-2

darklight`dark`light  select that from this list of symbols

K (oK), 16 bytes

`dark`light 2!+/

Try it online!

+/ sum the (code points of the) argument

2! mod-2

darklight  select that from this list of symbols

K (oK), 16 bytes

`dark`light 2!+/

Try it online!

+/ sum the (code points of the) argument

2! mod-2

`dark`light  select that from this list of symbols

Source Link
Adám
  • 31.1k
  • 3
  • 124
  • 287

K (oK), 16 bytes

`dark`light 2!+/

Try it online!

+/ sum the (code points of the) argument

2! mod-2

darklight  select that from this list of symbols