I have no idea what it want me to do
can someone explain in more detail.
Literals in a parameter list must be assigned to a variable...
def power(base=37, exponent=4): # code
If the function is called with no arguments, or only one argument, the preset values take the place of missing args.
For this exercise, it is expected that we will just write in the parameters as instructed...
def power(base, exponent):
thanks you very much
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.