13.07.2015 Views

CS 11 C track: lecture 1 - Caltech

CS 11 C track: lecture 1 - Caltech

CS 11 C track: lecture 1 - Caltech

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Compound data types (4)nnObjects:class Thingy:# next week’s <strong>lecture</strong>t = Thingy()t.method()print t.fieldBuilt-in data structures (lists, dictionaries)are also objectsnthough internal representation is different

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!