I&C SCI 32 Lecture Notes - Lecture 6: Type System
- Values of a variable have types not the variables themselves
- Python uses a type system to determine what’s legal and what happens when you do the things
that are.
- Python’s type system uses a technique called “duck typing”
“If a bird walks like a duck and talks like a duck, it’s probably a duck.”
Type drives everything
find more resources at oneclass.com
find more resources at oneclass.com