y=lambda symbol: 'X' if symbol==True else 'O' if symbol==False else ' ' print y(True)print y(False)print y('Something else')
Standard input is empty
X O
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!