Grok Worksheet 7: Review Flashcards
1
Q
Python Data Model: “Everything in Python is an __________ with a __________, an __________, and an unchangeable __________.”
A
“Everything in Python is an OBJECT with a VALUE, an ID, and an unchangeable TYPE.”
2
Q
What are the two major categories of types?
A
Numbers and sequences
3
Q
Are Booleans considers apart of the number or sequence super-category? Expand.
A
Number.
True = 1
False = 0