Using existing classes -- built-in types
•
Conversion functions are object creators
>>> str([1, ‘apple’])
“[1, ‘apple’]”
>>> list(“word”)
[‘w’, ‘o’, ‘r’, ‘d’]
•
‘Conversion functions’ are types
>>> x = str(42)
>>> type(x) is str
1