
    Design a function for an adaptive learning system that calculates the total border length of a square-shaped math manipulative, helping students master perimeter concepts at their own pace. The function should take the length of one side of the manipulative as input and return the total distance around its edges.
    

    
def square_perimeter(a):
    """
    Design a function for an adaptive learning system that calculates the total border length of a square-shaped math manipulative, helping students master perimeter concepts at their own pace. The function should take the length of one side of the manipulative as input and return the total distance around its edges.
    

    """
def square_perimeter(a):
    """
    Design a function for an adaptive learning system that calculates the total border length of a square-shaped math manipulative, helping students master perimeter concepts at their own pace. The function should take the length of one side of the manipulative as input and return the total distance around its edges.
    

    """
    perimeter = 4 * a
    return perimeter