def sum(n): return n*(1+n)/2 print sum(100)
Standard input is empty
5050
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!