Froquiz
Home
Quizzes
Job Tracker
Senior Challenge
System Design
Get Certified
Blog
🇬🇧
en
Sign In
Start Quiz
🇬🇧
en
Sign In
Start Quiz
Loading...
Quiz Topics
1
2
3
4
5
6
7
8
9
10
01
/ 10
What does the iter() function do in Python?
Auto Skip
Report Issue
A.
iter() collects all values in a list
B.
Calls obj.__iter__(); old protocol with __getitem__ if missing; iter(callable, sentinel) also usable
C.
iter() only works for list and tuple
D.
iter() creates a generator
Previous
Next