You are viewing a single comment's thread. Return to all comments →
for i in range(int(input().strip())): stream_name, n = input().strip().split() current = 0 if stream_name == "even" else 1 for j in range(int(n)): print(current) current += 2
`
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 →
Simple code
`