10. Lists¶
- 10.1. Lists
- 10.2. List Values
- 10.3. List Length
- 10.4. Accessing Elements
- 10.5. List Membership
- 10.6. Concatenation and Repetition
- 10.7. List Slices
- 10.8. Lists are Mutable
- 10.9. List Deletion
- 10.10. Objects and References
- 10.11. Aliasing
- 10.12. Cloning Lists
- 10.13. Repetition and References
- 10.14. List Methods
- 10.15. The Return of L-Systems
- 10.16. Append versus Concatenate
- 10.17. Lists and
for
loops - 10.18. Using Lists as Parameters
- 10.19. Pure Functions
- 10.20. Which is Better?
- 10.21. Functions that Produce Lists
- 10.22. List Comprehensions
- 10.23. Nested Lists
- 10.24. Strings and Lists
- 10.25.
list
Type Conversion Function - 10.26. Tuples and Mutability
- 10.27. Tuple Assignment
- 10.28. Tuples as Return Values
- 10.29. Glossary
- 10.30. Exercises