- A 012
- B 123
- C 111
- D 000
Python Programming Language MCQ Python Generators MCQ
⚠ Report ✓ Question Verified Copy Link
def gen():
x = 0
while True:
yield x
x += 1
y = gen()
print(next(y), end='')
print(next(y), end='')
print(next(y), end='')
Learn More MCQ Questions from Python Programming Language MCQ Python Generators MCQ