COMPSCI 61A Study Guide - Final Guide: Cheat Sheet, Insert Key, Espresso
zogo39484755 and 6 others unlocked
22
COMPSCI 61A Full Course Notes
Verified Note
22 documents
Document Summary
If you are not sure of your answer you may wish to provide a brief explanation. All the work on this exam is my own. (please sign: 1 q. For your reference, a complete implementation of the tree class appears below. class tree : """ a tree with entry as its root value . >>> t = tree (1 , [ tree (2) , tree (3)]) Tree (1 , [ tree (2) , tree (3)]) >>> t . r a n c h e s. For each row below, ll in the blanks in the output displayed by the interactive python interpreter when the expression is evaluated. Expressions are evaluated in order, and expressions may a ect later expressions. Whenever the interpreter would report an error, write error. You should include any lines displayed before an error. Reminder : the interactive interpreter displays the repr string of the value of a successfully evaluated expression, unless it is none.