p
y
c
h
a
l
l
e
n
g
e
r
Home
Intermediate Python
Functions II
Exercise: Scope Hierarchy
Exercise: Scope Hierarchy
Print the value of all three versions of
x
.
Premium
reset
def greet(name): return f"Hello, {name}!" print(greet("Erik"))
Python
Setting up Python environment...
Output