#theantsgomarching.py
"""Has the printlyrics() method."""

def printlyrics():
    """Print 5 verses of "The Ants Go Marching" song."""
    
    for i in range(5):
        print(getaverse(i))

def getaverse(verse_num):
    """Return a complete verse_num.

    verse_num - 0-4"""
    arg1 = ["one", "two", "three", "four", "five"]
    arg2 = [
        ["suck", "thumb"],
        ["tie", "shoe"],
        ["scratch", "knee"],
        ["do", "chore"],
        ["eat", "chive"]
        ]
    
    return start(arg1[verse_num]) + thelittleone(arg2[verse_num]) + end()

def start(arg):
    """Return the first 3 lines of a verse.

    arg - "one", "two", "three" ..."""
    return line1(arg)*2 + line3(arg)

def line1(arg):
    h = hurrah()
    return "{} {} {}\n".format(marching(arg), h, h)

def line3(arg):
    return "{}\n".format(marching(arg))

def hurrah():
    """Return the "hurrah!" part of the song."""
    return "hurrah!"

def marching(arg):
    """Return "The ants go marching..." part of the song.

    arg - "one", "two", "three" ..."""
    return "The ants go marching {} by {},".format(arg,arg)

def thelittleone(arg):
    """Return the 4th line of a verse.

    arg - [verb, object]"""
    return "The little one stops to {} his {},\n".format(arg[0], arg[1])

def end():
    """Return the last part of a verse."""
    return (
        "And they all go marching down...\n"
        "In the ground...\n"
        "To get out...\n"
        "Of the rain.\n"
        "{} {} {}\n"
        ).format(boom(), boom(), boom())

def boom():
    """Return the "Boom!" part of the song."""
    return "Boom!"

#theantsgomarching.py
"""Has the printlyrics() method."""

def printlyrics():
    """Print 5 verses of "The Ants Go Marching" song."""
    
    for i in range(5):
        print(getaverse(i))

def getaverse(verse_num):
    """Return a complete verse_num.

    verse_num - 0-4"""
    arg1 = ["one", "two", "three", "four", "five"]
    arg2 = [
        ["suck", "thumb"],
        ["tie", "shoe"],
        ["scratch", "knee"],
        ["do", "chore"],
        ["eat", "chive"]
        ]
    
    return start(arg1[verse_num]) + thelittleone(arg2[verse_num]) + end()

def start(arg):
    """Return the first 3 lines of a verse.

    arg - "one", "two", "three" ..."""
    return line1(arg)*2 + line3(arg)

def line1(arg):
    h = hurrah()
    return "{} {} {}\n".format(marching(arg), h, h)

def line3(arg):
    return "{}\n".format(marching(arg))

def hurrah():
    """Return the "hurrah!" part of the song."""
    return "hurrah!"

def marching(arg):
    """Return "The ants go marching..." part of the song.

    arg - "one", "two", "three" ..."""
    return "The ants go marching {} by {},".format(arg,arg)

def thelittleone(arg):
    """Return the 4th line of a verse.

    arg - [verb, object]"""
    return "The little one stops to {} his {},\n".format(arg[0], arg[1])

def end():
    """Return the last part of a verse."""
    return (
        "And they all go marching down...\n"
        "In the ground...\n"
        "To get out...\n"
        "Of the rain.\n"
        "{} {} {}\n"
        ).format(boom(), boom(), boom())

def boom():
    """Return the "Boom!" part of the song."""
    return "Boom!"

#theantsgomarching.py Has the printlyrics() method. Print 5 verses of "The Ants Go Marching" song. Return a complete verse_num.      verse_num - 0-4 Return the first 3 lines of a verse.      arg - "one", "two", "three" ... Return the "hurrah!" part of the song. Return "The ants go marching..." part of the song.      arg - "one", "two", "three" ... Return the 4th line of a verse.      arg - [verb, object] Return the last part of a verse. Return the "Boom!" part of the song.