0 out of 68 challenges solved

Calculate the exponential power of the given number

Question:
Write a function called calculate_exponential_power that takes an integer as input and returns the result of raising that number to the power of 2. Use a for loop with the math library to perform the exponential power calculation.

Example:
Input: 5
Output: 25

import math

def calculate_exponential_power(number):
    """
    Calculates the exponential power of the given number.

    Args:
    number (int): The input number.

    Returns:
    int: The result of raising the number to the power of 2.
    """
    # TODO: Implement the calculate_exponential_power function
    pass