Skip to main content
JourneyUncommon
Toggle theme
Sign In
Sign Up
Toggle theme
Home
/
Practice
/
Python
medium
Python
generators and yield
Single-choice MCQ
1 views
What does this code print on two lines?
g = (x for x in range(3))\nprint(next(g))\nprint(next(g))