You are viewing a single comment's thread. Return to all comments →
Question is broken. EvenStream is not defined.
EvenStream
from sys import stdin stdin.readline() # ignore q for line in stdin.readlines(): stream, n = line.split() [print(i) for i in range(2*int(n)) if (stream == "even" and i % 2 == 0) or (stream == "odd" and i % 2 == 1)]
Seems like cookies are disabled on this browser, please enable them to open this website
Default Arguments
You are viewing a single comment's thread. Return to all comments →
Question is broken.
EvenStream
is not defined.