# your code goes hereresult = 0for n in range(1,1000): if n % 3 ==0 or n % 6 ==0: result += nprint(result)
Standard input is empty
166833
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!