
y=lambda symbol: 'X' if symbol==True else 'O' if symbol==False else ' '


print y(True)
print y(False)
print y('Something else')
