import math


def pyramid_steps_loop(n):
    """Return a list of "n" progression pyramid steps, using loops."""
    result = []
    line_size = n * 2 - 1
    line_mid = math.floor(line_size / 2)
    for i in range(n):
        line = ""
        for j in range(line_size):
            line += "#" if j >= line_mid - i and j <= line_mid + i else " "
        result.append(line)
    return result