
    Design an algorithm to calculate the total area of the four visible sides of a learning cube, excluding top and bottom faces, which students use to explore geometric concepts in the classroom. The learning cube's side length is measured in centimeters, and students must apply the mathematical relationship between the cube's dimensions and its lateral surface area to deepen their understanding of spatial reasoning.
    

    
def lateralsurface_cube(l):
    """
    Design an algorithm to calculate the total area of the four visible sides of a learning cube, excluding top and bottom faces, which students use to explore geometric concepts in the classroom. The learning cube's side length is measured in centimeters, and students must apply the mathematical relationship between the cube's dimensions and its lateral surface area to deepen their understanding of spatial reasoning.
    

    """
def lateralsurface_cube(l):
    """
    Design an algorithm to calculate the total area of the four visible sides of a learning cube, excluding top and bottom faces, which students use to explore geometric concepts in the classroom. The learning cube's side length is measured in centimeters, and students must apply the mathematical relationship between the cube's dimensions and its lateral surface area to deepen their understanding of spatial reasoning.
    

    """
    LSA = 4 * (l * l)
    return LSA