<human>:  raising to a power using for loop.
<bot>: Here is a Python code for raising to a power using for loops

import math

def _power_of_two(n):
  """Returns the power of two of the given number ``n``.
  This is done by using the binary representation of the number.

  """
  if n == 0:
    return 0
  else:
    return 1 << (n - 1).bit_length()

# Enter the number
n = 10

# Calling the function
print((_power_of_two(n)))

#Example Output
# 16

#Remember to inspect code for bugs.