Open Access. Powered by Scholars. Published by Universities.®
Physical Sciences and Mathematics Commons™
Open Access. Powered by Scholars. Published by Universities.®
Articles 1 - 1 of 1
Full-Text Articles in Physical Sciences and Mathematics
Cs04all: List Comprehensions, Hunter R. Johnson
Cs04all: List Comprehensions, Hunter R. Johnson
Open Educational Resources
List Comprehensions
This is a tutorial on list comprehensions in Python, suitable for use in an Intro or CS0 course. We also briefly mention set comprehensions and dictionary comprehensions.
https://cocalc.com/share/bde99afd-76c8-493d-9608-db9019bcd346/171/list_comprehensions?viewer=share/
This OER material was produced as a result of the CS04ALL CUNY OER project