p
y
c
h
a
l
l
e
n
g
e
r
Home
Python Basics
Functions I
Exercise: Default parameter value
Exercise: Default parameter value
The code below throws an error. Can you think of a way fix it by adjusting only the function parameters?
Premium
reset
# change code here:
def func(x, y):
print(x * y) func(10)
Python
Setting up Python environment...
Output