Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
741 B
2
Indexable
Never
"""
Sampo Perunka
yogi bear
"""

def repeat_name(name, counter):
    for i in range(0, counter):
        print(name + ",", name, "Bear")

def verse(sentence, name):
    """
    yogi karhu
    :param sentence:
    :param name:
    :return:
    """
    counter = 3
    print(sentence)
    print(name + ",", name)
    print(sentence)
    repeat_name(name, counter)
    print(sentence)
    print(name + ",", name, "Bear")



def main():
    """
    printtaa koko laulun
    :return:
    """
    verse("I know someone you don't know", "Yogi")
    print()
    verse("Yogi has a best friend too", "Boo Boo")
    print()
    verse("Yogi has a sweet girlfriend", "Cindy")


if __name__ == "__main__":
    main()