Python - Programming Language
This course covers the basics of programming in Python. Work your way through the videos/articles and I'll teach you everything you need to know to start your programming journey!

Exponent Function

Lesson 23
Author : Mike Dane
Last Updated : October, 2017


Code

Copydef raise_to_power(base_num, pow_num):
     result = 1
     for index in range(pow_num):
          result *= base_num
     return result