total = 0 for i in range(10): total += i print(total)
8
45
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!