I'm on this part of the Python course:
Parameters and Arguments
And this is the code I have written
base = raw_input("Gimme some base: ") exponent = raw_input("Now some exponent: ") def power(base,exponent): # Add your parameters here! result = base**exponent print "%d to the power of %d is %d." % (base, exponent, result) power(base,exponent) # Add your arguments here!
Yet I got this error message:
"unsupported operand type(s) for ** or pow(): 'unicode' and 'unicode' "
Thanks very much!