>>> Enter the base: 10 >>> Enter the exponent: 4 Traceback (most recent call last): File "/home/mithat/exponent_calculator.py", line 8, in print(base + ' to the ' + exponent + 'power is ' + result) TypeError: unsupported operand type(s) for +: 'int' and 'str'