try: raise ValueError('works')except (IndexError, ValueError, NameError): print 'duh'
Standard input is empty
duh
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!