def moving_horizontal_rainbow_2():
    """
    Retrieves the rainbows, assigns them in reverse order, and then
    sends them as an argument to the move function.
    """

    rainbow00 = get_horizontal_rainbow_00()

    rainbow07, rainbow06, rainbow05, rainbow04, rainbow03, rainbow02, \
        rainbow01 = get_horizontal_rainbows()

    mh_rainbows_2 = [rainbow00, rainbow01, rainbow02, rainbow03,
                     rainbow04, rainbow05, rainbow06, rainbow07]

    move_horizontally(mh_rainbows_2)
Exemple #2
0
def moving_horizontal_rainbow_1():
    """
    Retrieves the rainbows and sends them to the move function.
    """

    rainbow00 = get_horizontal_rainbow_00()

    rainbow01, rainbow02, rainbow03, rainbow04, rainbow05, rainbow06, \
        rainbow07 = get_horizontal_rainbows()

    mh_rainbows_1 = [
        rainbow00, rainbow01, rainbow02, rainbow03, rainbow04, rainbow05,
        rainbow06, rainbow07
    ]

    move_horizontally(mh_rainbows_1)