4/19 keeps asking comma questions


#1

def power(37,4): # Add your parameters here!
result = 37**4

print "%d to the power of %d is %d." % (base, exponent, result)

power(37 , 4) # Add your arguments here!

and says:

Oops, try again. Did you remember to put a comma between your parameters and arguments?

I cannot understand what I did wrong here! :frowning:


#2

@separk22,

 def power(a,b): # Add your parameters here!
     result = a**b
     print "%d to the power of %d is %d." % (a, b, result)

power(37 , 4) # Add your arguments here!

====================================

some quotes from the outer-world:

**argument is the value/variable/reference being passed in,
parameter is the receiving variable used within the function/block**

OR

**"parameters" are called "formal parameters",
while "arguments" are called "actual parameters".**


#3

Thank you for replying! I knew what's my wrong point now!