Announcements •No Reading for next time •No Reading Quiz for next time •Apt-02 due tonight, Assignment 3 due Thursday •Exam next Tuesday •Work the practice exam before Thursday’s class. Will go over next class. CompSci 6 Fall 2011 2
List Comprehension review •Take advantage of patterns, make a new list based on per element calculations of another list • Format: [<expression with variable> for <variable> in <old list>] •Format with filtering: [<expression with variable> for <variable> in <old list> if <filter with variable> ] 3
has intentionally blurred sections.
Sign up to view the full version.