import mathn=0for x in range (31): n=x*(x-1)print(n)
Standard input is empty
870
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!