1/20
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Why avoid in
with large lists?
Must scan every item (slow for big lists).
Dictionary keys changeable?
No (must be strings, numbers, tuples).
What does for x in my_dict:
loop over?
The keys (use my_dict[x]
to get values).
What does "zero-based" mean for lists?
First item is at index 0
(not 1).
How are lists sequential?
Items keep their order (index 0
→ 1
→ 2
...).