i = j = x = 0for i in range(1, 6): for j in range(i + 1, 6): x += 1print (x)
Standard input is empty
10
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!