Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumPythongenerators and yieldSingle-choice MCQ1 views

What is the first output of this code?

g = (x for x in range(3))\nprint(next(g))