# your code goes here sum = 0.0 for i in range(1, 1000): sum = sum + 1/(i*i*i) print(sum)
Standard input is empty
1.2020564026593432
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!