result='a'm=[1]try: print(int(result%m))except Exception as e: print(result, m, e.__class__.__name__)
Standard input is empty
a [1] ValueError
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!