Update your browser or use a newer device. We no longer support this version, so parts of Varsity Tutors may not work.
Dismiss
Python Quiz
5 questions · no time limit
0:00
Finish quiz
CORE DATA STRUCTURES
Question 1
of 5
Flag for review
No time limit
Current
Answered
Flagged
Not seen
A binary tree Node sets
self.left = None
in
__init__
. After
n = Node(5)
, what happens when
print(n.left.val)
runs?
A
TypeError
B
NameError
C
It prints None
D
AttributeError
YOUR PROGRESS
5
QUESTIONS
Ready when you are
Answer in any order. Your progress shows here as you go.
QUESTIONS
1
2
3
4
5
KEYBOARD
Pick an answer
A
B
C
D
Next question
↵
→
Previous
←
Flag for review
F