I&C SCI 32 Lecture Notes - Lecture 6: Type System

43 views1 pages
- 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
Unlock document

This preview shows half of the first page of the document.
Unlock all 1 pages and 3 million more documents.

Already have an account? Log in

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents