def xyz(n): assert(n>=0),"Negative number" print(n*n)print(xyz(-10))
Standard input is empty
100 None
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!