# your code goes heredef x(i):n=[~j%2for j in range(i)];n[0]=101-sum(n);print nx(3)
2
[99, 0, 1]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!