Oct-04-2017, 01:52 AM
(This post was last modified: Oct-04-2017, 01:54 AM by nomoremrriceguy.)
well first I put in
def pow (x, y)
and I just keep getting a syntax error
This is what it should be outputting but I don't know where to start
Please enter the base value: 3
3 to the 1 power is 3
3 to the 2 power is 9
3 to the 3 power is 27
3 to the 4 power is 81
3 to the 5 power is 243
3 to the 6 power is 729
3 to the 7 power is 2187
3 to the 8 power is 6561
def pow (x, y)
and I just keep getting a syntax error
This is what it should be outputting but I don't know where to start
Please enter the base value: 3
3 to the 1 power is 3
3 to the 2 power is 9
3 to the 3 power is 27
3 to the 4 power is 81
3 to the 5 power is 243
3 to the 6 power is 729
3 to the 7 power is 2187
3 to the 8 power is 6561