You are viewing a single comment's thread. Return to all comments →
def print_from_stream(n, stream=EvenStream()): stream.__init__() for _ in range(n): print(stream.get_next())
Default Arguments
You are viewing a single comment's thread. Return to all comments →