Class Assignment

How can only 1 digit number can output two different possible strings ?