if __name__ == '__main__':
    string_A = '+---+---+---+---+'
    string_B = '|   |   |   |   |'

    for i in range(5):
        print(string_A)

    print('xxxxxxxxxxxxxxxxxxxxxxxxx')

    for i in range(1,9):
        if i % 2 == 0:
            print(string_B)
        else:
            print(string_A)

    print('xxxxxxxxxxxxxxxxxxxxxxxxx')

    for n in range(1,10):
        print("x"*n)

    print('xxxxxxxxxxxxxxxxxxxxxxxxx')

    for n in range(1,10):
        if n%2 == 0:
            print("x" * n)
        else:
            print("o" * n)


e1eb22c5cb57b5434a6c5161bb85a870ea6f9c47
<mask token>

if __name__ == '__main__':
    string_A = '+---+---+---+---+'
    string_B = '|   |   |   |   |'
    for i in range(5):
        print(string_A)
    print('xxxxxxxxxxxxxxxxxxxxxxxxx')
    for i in range(1, 9):
        if i % 2 == 0:
            print(string_B)
        else:
            print(string_A)
    print('xxxxxxxxxxxxxxxxxxxxxxxxx')
    for n in range(1, 10):
        print('x' * n)
    print('xxxxxxxxxxxxxxxxxxxxxxxxx')
    for n in range(1, 10):
        if n % 2 == 0:
            print('x' * n)
        else:
            print('o' * n)

if __name__ == '__main__':
    string_A = '+---+---+---+---+'
    string_B = '|   |   |   |   |'

    for i in range(5):
        print(string_A)

    print('xxxxxxxxxxxxxxxxxxxxxxxxx')

    for i in range(1,9):
        if i % 2 == 0:
            print(string_B)
        else:
            print(string_A)

    print('xxxxxxxxxxxxxxxxxxxxxxxxx')

    for n in range(1,10):
        print("x"*n)

    print('xxxxxxxxxxxxxxxxxxxxxxxxx')

    for n in range(1,10):
        if n%2 == 0:
            print("x" * n)
        else:
            print("o" * n)

