CSC108H1 Lecture : november 11 notes

21 views1 pages
11 Jan 2013
School
Course
yifanyang and 39659 others unlocked
CSC108H1 Full Course Notes
21
CSC108H1 Full Course Notes
Verified Note
21 documents

Document Summary

Python doesn"t care about the filename (whether it is . txt or something else. ) it is exactly as we opened files in class and the examples. Aliasing two names in the namespace that points to the same object. # when take a slice, a copy of list is taken only. >>> l1 = [ [ a", 1], [ b", 2] ] # in nested lists other lvls still same. # when concatenating lists, new list is created w/ the operator +". Assignment evaluate address of the right, put it equal to the left.

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