Exponent Function

Lesson 23
Author : Afrixi
Last Updated : October, 2017


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!
Table of Content

Code

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