OCU Test - Day 2 Review Flashcards
1
Q
What do we call objects that can return their members one at a time?
A
Iterables
2
Q
What are Python lists similar to in other languages?
A
Arrays
3
Q
Which types of sequences are immutable?
A
Tuples, strings
4
Q
What are generator expressions?
A
Iterables that can only be iterated through once
5
Q
When files are read into python, what does python store them in?
A
File objects