p
y
c
h
a
l
l
e
n
g
e
r
Home
Intermediate Python
Unpacking
Exercise: Unpack a List
Exercise: Unpack a List
Unpack
rgb_alpha
into
r
,
g
,
b
, and
a
— all in one line.
Premium
reset
def greet(name): return f"Hello, {name}!" print(greet("Erik"))
Python
Setting up Python environment...
Output