Skip to main content
deleted 192 characters in body
Source Link

PlatyPar, 21 bytes

This is a non-competing answer, as I made this language after the posting of this question. It was neither made for this question nor has it been augmented to fit this specific question.

X,u#^2%?"dark"\"light

Explanation

X,u#^                  ## charcode of the letter XOR the number
     2%?      \        ## if it is odd
        "dark"         ## output "dark"
               "light  ## else output "light

Try it online!

PlatyPar, 21 bytes

This is a non-competing answer, as I made this language after the posting of this question. It was neither made for this question nor has it been augmented to fit this specific question.

X,u#^2%?"dark"\"light

Explanation

X,u#^                  ## charcode of the letter XOR the number
     2%?      \        ## if it is odd
        "dark"         ## output "dark"
               "light  ## else output "light

Try it online!

PlatyPar, 21 bytes

X,u#^2%?"dark"\"light

Explanation

X,u#^                  ## charcode of the letter XOR the number
     2%?      \        ## if it is odd
        "dark"         ## output "dark"
               "light  ## else output "light

Try it online!

Source Link
Cyoce
  • 3.4k
  • 25
  • 29

PlatyPar, 21 bytes

This is a non-competing answer, as I made this language after the posting of this question. It was neither made for this question nor has it been augmented to fit this specific question.

X,u#^2%?"dark"\"light

Explanation

X,u#^                  ## charcode of the letter XOR the number
     2%?      \        ## if it is odd
        "dark"         ## output "dark"
               "light  ## else output "light

Try it online!