sum = 0i = 1while i != int(input()) sum = sum + i i++print(sum)
1353752
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!