def gen(): x = 2 while True: yield x x += 1 y = gen() for i in y: if i >= 5: break else: print(i, end='')
Click an option to check whether your answer is correct.
Explore more questions from similar topics.
Share this MCQ with your friends or study group.