Skip to content
free
K
1
2
practice
Home
Math
English
Science
Social Studies
Contact
Language
English
Español
Sign In
/
High School Electives
/
Computer Science
/
Return Values and Scope
Grade Level
Computer Science
HSCS.128 Return Values and Scope
0%
Skill Level
🔴 Hard
00:00
Progress to Next Level
25% to Medium
Easy
Medium
Hard
Mastery
100%
Read the Python-style pseudocode. def outer(n): result = n def inner(): return result + 1 result = result * 2 return inner() print(outer(4)) What is displayed?
A
5
B
A scope error occurs because inner uses result before return.
C
8
D
9
Submit Answer