Name: Anonymous 2013-02-26 16:32
I need help.
How do I write a function that would add exponents? As in:
Lets say I made the function named sum_of_exponents(base, exp):
and I decided to print sum_of_exponents(13, 10) it would do the following:
13**0 + 13**1 + 13**2 + 13**3 ... + 13**10?
How do I write a function that would add exponents? As in:
Lets say I made the function named sum_of_exponents(base, exp):
and I decided to print sum_of_exponents(13, 10) it would do the following:
13**0 + 13**1 + 13**2 + 13**3 ... + 13**10?