<human>:  Can you show me a Python function for raising to a power using a for loop.
<bot>: Here is a Python function for raising to a power using a for loop

import math

def raise_to_power(base, power):
  """
  Raises `base` to the power `power` using for loop
  """
  for i in range(power):
    base = base * base
  return base

# Enter the base
base = 2

# Enter the power
power = 3

# Calling the function
print((raise_to_power(base, power)))

#Example Output
# 256

#Remember to inspect code for bugs.