Abstract
There are two protocols that you are very likely to use, or will possibly need to implement at some point or other; these are the Iterable protocol and the Iterator protocols. These two closely related protocols are very widely used and supported by a large number of types.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this chapter
Cite this chapter
Hunt, J. (2019). Iterables, Iterators, Generators and Coroutines. In: A Beginners Guide to Python 3 Programming. Undergraduate Topics in Computer Science. Springer, Cham. https://doi.org/10.1007/978-3-030-20290-3_30
Download citation
DOI: https://doi.org/10.1007/978-3-030-20290-3_30
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-20289-7
Online ISBN: 978-3-030-20290-3
eBook Packages: Computer ScienceComputer Science (R0)