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