for i in range(25): if (i % 3 == 0): print(i) elif (i % 5 == 0): print(i)
Standard input is empty
0 3 5 6 9 10 12 15 18 20 21 24
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!