4. Parements and Arguments


#1



https://www.codecademy.com/courses/python-beginner-c7VZg/1/3?curriculum_id=4f89dab3d788890003000096


it Says that I did not put a comma in the parements and arguements


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

power(__,__)  # Add your arguments here!


#2

here:

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

parameters should be valid variable names, then use 37 and 4 as arguments on function call to give the parameters those values


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.