Python avec accolades

for ii in range(10) {
    print(ii);
    print("which is %s" % (['even','odd'][ii % 2]));
}
Doubtful Dotterel