# Does a code need at least two symbols to be defined as a code? [closed]

I am wondering whether you could still call a code something that, if transmitting, only transmits one symbol. Or does the formal definition of code require 2 or more symbols? (and would the answer change if that symbol can have different intensities, so perhaps having 2 or more intensities makes this a code?) thanks!