已读48%
预计阅读本页时间:-
预计阅读本页时间:-
Test Your Knowledge: Quiz
- What is the difference between enclosing a list comprehension in square brackets and parentheses?
- How are generators and iterators related?
- How can you tell if a function is a generator function?
- What does a yield statement do?
- How are map calls and list comprehensions related? Compare and contrast the two.