Python for AIPython 3.12 · Pydantic 2.12
Dashboard
0%
1
Curious builder0 XP earned · 300 to level 2
0 daysFinish a lesson to begin
Badge collection0 of 6 unlocked
43 small wins to finish your pathNext lesson →

Advanced Python quiz

Question 1 of 5

An iterator is built with it = iter([1, 2]) and next(it) is called twice, returning 1 and 2. What does a third next(it) do?

Getting one wrong here is cheaper than getting it wrong in your own code.