CISC 121 Lecture Notes - Gamepro
wunch and 39345 others unlocked
35
CISC 121 Full Course Notes
Verified Note
35 documents
Document Summary
Pro-tip: try to avoid referencing global variables if possible. Execution stack (frame stack) def fun_a(a, b) a = 3+a. = b-4 print a, b a = 9. = 7 print a, b fun_1(a, b) print a, b. Pretty good for non-python for i in list_1: if i in list_2: inter. append(i) print inter. Information is in the form of pairs, each pair has a key and a value dict_1 = {}