import random
from sys import exit

number = random.randint(1,10)
tries = 1

def startup():
    print("Hello, what is your name?")
    name = input(">")

    print("You said you're name is", name + ". Is that correct? (y/n)", )
    next = input(">")
    if next == "y":
        question()
    elif next == "n":
        startup()

def question():
    print("Would you like to play a game? (y/n)")
    answer_1 = input(">")
    if answer_1 == "y":
        level_1()
    elif answer_1 == "n":
        exit(0)

def level_1_retry():
    print("OK, lets try that again. I'm thinking of a number between 1 and 10")
    guess = int(input(">"))
    if guess > number:
        print("Oops, too high. Try again?(y/n)")
        answer_2 = input(">")
        if answer_2 == "y":
            level_1()
        elif answer_2 == "n":
            exit (0)
    if guess < number:
        print("Oops, too low. Try again?(y/n)")
        answer_2 = input(">")
        if answer_2 == "y":
                    level_1_retry()
        elif answer_2 == "n":
                    exit(0)
    if guess == number:
        print("\tHey! You actually got it")
        print(

        '''
    
            ,.        ,.      ,.
                                            ||        ||      ||  ()
             ,--. ,-. ,.,-.  ,--.,.,-. ,-.  ||-.,.  ,.|| ,-.  ||-.,. ,-. ,.,-.  ,--.
            //`-'//-\\||/|| //-||||/`'//-\\ ||-'||  ||||//-\\ ||-'||//-\\||/|| ((`-'
            ||   || |||| ||||  ||||   || || ||  || /|||||| || ||  |||| |||| ||  ``.
            \\,-.\\-//|| || \\-||||   \\-|| ||  ||//||||\\-|| ||  ||\\-//|| || ,-.))
             `--' `-' `' `'  `-,|`'    `-^-``'  `-' `'`' `-^-``'  `' `-' `' `' `--'
                              //           .--------.
                          ,-.//          .: : :  :___`.
                          `--'         .'!!:::::  \\_\ `.
                                  : . /%O!!::::::::\\_\. \,
                                 [""]/%%O!!:::::::::  : . \,
                                 |  |%%OO!!::::::::::: : . |
                                 |  |%%OO!!:::::::::::::  :|
                                 |  |%%OO!!!::::::::::::: :|
                        :       .'--`.%%OO!!!:::::::::::: :|
                      : .:     /`.__.'\%%OO!!!::::::::::::/
                     :    .   /        \%OO!!!!::::::::::/
                    ,-'``'-. ;          ;%%OO!!!!!!:::::'
                    |`-..-'| |   ,--.   |`%%%OO!!!!!!:'
                    | .   :| |_.','`.`._|  `%%%OO!%%'
                    | . :  | |--'    `--|    `%%%%'
                    |`-..-'| ||   | | | |     /__\`-.
                    \::::::/ ||)|/|)|)|\|           /
            ---------`::::'--|._ ~**~ _.|----------( -----------------------
                       )(    |  `-..-'  |           \    ______
                       )(    |          |,--.       ____/ /  /\\ ,-._.-'
                    ,-')('-. |          |\`;/   .-()___  :  |`.!,-'`'/`-._
                   (  '  `  )`-._    _.-'|;,|    `-,    \_\__\`,-'>-.,-._
                    `-....-'     ````    `--'      `-._       (`- `-._`-.   "
    
            '''
                )

def level_1():
    print("Fantastic! I'm thinking of a number between 1 and 10")
    guess = int(input(">"))
    if guess > number:
        print("Oops, too high. Try again? (y/n)")
        answer_2 = input(">")
        if answer_2 == "y":
            level_1_retry()
        elif answer_2 == "n":
            exit(0)
    if guess < number:
        print("Oops, too low. Try again?(y/n)")
        answer_2 = input(">")
        if answer_2 == "y":
            level_1_retry()
        elif answer_2 == "n":
            exit(0)
    if guess == number:
        print("\tHey! You actually got it")
        print(
        '''

,.        ,.      ,.
                                ||        ||      ||  ()
 ,--. ,-. ,.,-.  ,--.,.,-. ,-.  ||-.,.  ,.|| ,-.  ||-.,. ,-. ,.,-.  ,--.
//`-'//-\\||/|| //-||||/`'//-\\ ||-'||  ||||//-\\ ||-'||//-\\||/|| ((`-'
||   || |||| ||||  ||||   || || ||  || /|||||| || ||  |||| |||| ||  ``.
\\,-.\\-//|| || \\-||||   \\-|| ||  ||//||||\\-|| ||  ||\\-//|| || ,-.))
 `--' `-' `' `'  `-,|`'    `-^-``'  `-' `'`' `-^-``'  `' `-' `' `' `--'
                  //           .--------.
              ,-.//          .: : :  :___`.
              `--'         .'!!:::::  \\_\ `.
                      : . /%O!!::::::::\\_\. \,
                     [""]/%%O!!:::::::::  : . \,
                     |  |%%OO!!::::::::::: : . |
                     |  |%%OO!!:::::::::::::  :|
                     |  |%%OO!!!::::::::::::: :|
            :       .'--`.%%OO!!!:::::::::::: :|
          : .:     /`.__.'\%%OO!!!::::::::::::/
         :    .   /        \%OO!!!!::::::::::/
        ,-'``'-. ;          ;%%OO!!!!!!:::::'
        |`-..-'| |   ,--.   |`%%%OO!!!!!!:'
        | .   :| |_.','`.`._|  `%%%OO!%%'
        | . :  | |--'    `--|    `%%%%'
        |`-..-'| ||   | | | |     /__\`-.
        \::::::/ ||)|/|)|)|\|           /
---------`::::'--|._ ~**~ _.|----------( -----------------------
           )(    |  `-..-'  |           \    ______
           )(    |          |,--.       ____/ /  /\\ ,-._.-'
        ,-')('-. |          |\`;/   .-()___  :  |`.!,-'`'/`-._
       (  '  `  )`-._    _.-'|;,|    `-,    \_\__\`,-'>-.,-._
        `-....-'     ````    `--'      `-._       (`- `-._`-.   "
        
'''
        )















startup()
9694cbda2d5b379d2f6c672988b681fa94db779d
<mask token>


def startup():
    print('Hello, what is your name?')
    name = input('>')
    print("You said you're name is", name + '. Is that correct? (y/n)')
    next = input('>')
    if next == 'y':
        question()
    elif next == 'n':
        startup()


def question():
    print('Would you like to play a game? (y/n)')
    answer_1 = input('>')
    if answer_1 == 'y':
        level_1()
    elif answer_1 == 'n':
        exit(0)


def level_1_retry():
    print("OK, lets try that again. I'm thinking of a number between 1 and 10")
    guess = int(input('>'))
    if guess > number:
        print('Oops, too high. Try again?(y/n)')
        answer_2 = input('>')
        if answer_2 == 'y':
            level_1()
        elif answer_2 == 'n':
            exit(0)
    if guess < number:
        print('Oops, too low. Try again?(y/n)')
        answer_2 = input('>')
        if answer_2 == 'y':
            level_1_retry()
        elif answer_2 == 'n':
            exit(0)
    if guess == number:
        print('\tHey! You actually got it')
        print(
            """
    
            ,.        ,.      ,.
                                            ||        ||      ||  ()
             ,--. ,-. ,.,-.  ,--.,.,-. ,-.  ||-.,.  ,.|| ,-.  ||-.,. ,-. ,.,-.  ,--.
            //`-'//-\\||/|| //-||||/`'//-\\ ||-'||  ||||//-\\ ||-'||//-\\||/|| ((`-'
            ||   || |||| ||||  ||||   || || ||  || /|||||| || ||  |||| |||| ||  ``.
            \\,-.\\-//|| || \\-||||   \\-|| ||  ||//||||\\-|| ||  ||\\-//|| || ,-.))
             `--' `-' `' `'  `-,|`'    `-^-``'  `-' `'`' `-^-``'  `' `-' `' `' `--'
                              //           .--------.
                          ,-.//          .: : :  :___`.
                          `--'         .'!!:::::  \\_\\ `.
                                  : . /%O!!::::::::\\_\\. \\,
                                 [""]/%%O!!:::::::::  : . \\,
                                 |  |%%OO!!::::::::::: : . |
                                 |  |%%OO!!:::::::::::::  :|
                                 |  |%%OO!!!::::::::::::: :|
                        :       .'--`.%%OO!!!:::::::::::: :|
                      : .:     /`.__.'\\%%OO!!!::::::::::::/
                     :    .   /        \\%OO!!!!::::::::::/
                    ,-'``'-. ;          ;%%OO!!!!!!:::::'
                    |`-..-'| |   ,--.   |`%%%OO!!!!!!:'
                    | .   :| |_.','`.`._|  `%%%OO!%%'
                    | . :  | |--'    `--|    `%%%%'
                    |`-..-'| ||   | | | |     /__\\`-.
                    \\::::::/ ||)|/|)|)|\\|           /
            ---------`::::'--|._ ~**~ _.|----------( -----------------------
                       )(    |  `-..-'  |           \\    ______
                       )(    |          |,--.       ____/ /  /\\ ,-._.-'
                    ,-')('-. |          |\\`;/   .-()___  :  |`.!,-'`'/`-._
                   (  '  `  )`-._    _.-'|;,|    `-,    \\_\\__\\`,-'>-.,-._
                    `-....-'     ````    `--'      `-._       (`- `-._`-.   "
    
            """
            )


<mask token>

<mask token>


def startup():
    print('Hello, what is your name?')
    name = input('>')
    print("You said you're name is", name + '. Is that correct? (y/n)')
    next = input('>')
    if next == 'y':
        question()
    elif next == 'n':
        startup()


def question():
    print('Would you like to play a game? (y/n)')
    answer_1 = input('>')
    if answer_1 == 'y':
        level_1()
    elif answer_1 == 'n':
        exit(0)


def level_1_retry():
    print("OK, lets try that again. I'm thinking of a number between 1 and 10")
    guess = int(input('>'))
    if guess > number:
        print('Oops, too high. Try again?(y/n)')
        answer_2 = input('>')
        if answer_2 == 'y':
            level_1()
        elif answer_2 == 'n':
            exit(0)
    if guess < number:
        print('Oops, too low. Try again?(y/n)')
        answer_2 = input('>')
        if answer_2 == 'y':
            level_1_retry()
        elif answer_2 == 'n':
            exit(0)
    if guess == number:
        print('\tHey! You actually got it')
        print(
            """
    
            ,.        ,.      ,.
                                            ||        ||      ||  ()
             ,--. ,-. ,.,-.  ,--.,.,-. ,-.  ||-.,.  ,.|| ,-.  ||-.,. ,-. ,.,-.  ,--.
            //`-'//-\\||/|| //-||||/`'//-\\ ||-'||  ||||//-\\ ||-'||//-\\||/|| ((`-'
            ||   || |||| ||||  ||||   || || ||  || /|||||| || ||  |||| |||| ||  ``.
            \\,-.\\-//|| || \\-||||   \\-|| ||  ||//||||\\-|| ||  ||\\-//|| || ,-.))
             `--' `-' `' `'  `-,|`'    `-^-``'  `-' `'`' `-^-``'  `' `-' `' `' `--'
                              //           .--------.
                          ,-.//          .: : :  :___`.
                          `--'         .'!!:::::  \\_\\ `.
                                  : . /%O!!::::::::\\_\\. \\,
                                 [""]/%%O!!:::::::::  : . \\,
                                 |  |%%OO!!::::::::::: : . |
                                 |  |%%OO!!:::::::::::::  :|
                                 |  |%%OO!!!::::::::::::: :|
                        :       .'--`.%%OO!!!:::::::::::: :|
                      : .:     /`.__.'\\%%OO!!!::::::::::::/
                     :    .   /        \\%OO!!!!::::::::::/
                    ,-'``'-. ;          ;%%OO!!!!!!:::::'
                    |`-..-'| |   ,--.   |`%%%OO!!!!!!:'
                    | .   :| |_.','`.`._|  `%%%OO!%%'
                    | . :  | |--'    `--|    `%%%%'
                    |`-..-'| ||   | | | |     /__\\`-.
                    \\::::::/ ||)|/|)|)|\\|           /
            ---------`::::'--|._ ~**~ _.|----------( -----------------------
                       )(    |  `-..-'  |           \\    ______
                       )(    |          |,--.       ____/ /  /\\ ,-._.-'
                    ,-')('-. |          |\\`;/   .-()___  :  |`.!,-'`'/`-._
                   (  '  `  )`-._    _.-'|;,|    `-,    \\_\\__\\`,-'>-.,-._
                    `-....-'     ````    `--'      `-._       (`- `-._`-.   "
    
            """
            )


def level_1():
    print("Fantastic! I'm thinking of a number between 1 and 10")
    guess = int(input('>'))
    if guess > number:
        print('Oops, too high. Try again? (y/n)')
        answer_2 = input('>')
        if answer_2 == 'y':
            level_1_retry()
        elif answer_2 == 'n':
            exit(0)
    if guess < number:
        print('Oops, too low. Try again?(y/n)')
        answer_2 = input('>')
        if answer_2 == 'y':
            level_1_retry()
        elif answer_2 == 'n':
            exit(0)
    if guess == number:
        print('\tHey! You actually got it')
        print(
            """

,.        ,.      ,.
                                ||        ||      ||  ()
 ,--. ,-. ,.,-.  ,--.,.,-. ,-.  ||-.,.  ,.|| ,-.  ||-.,. ,-. ,.,-.  ,--.
//`-'//-\\||/|| //-||||/`'//-\\ ||-'||  ||||//-\\ ||-'||//-\\||/|| ((`-'
||   || |||| ||||  ||||   || || ||  || /|||||| || ||  |||| |||| ||  ``.
\\,-.\\-//|| || \\-||||   \\-|| ||  ||//||||\\-|| ||  ||\\-//|| || ,-.))
 `--' `-' `' `'  `-,|`'    `-^-``'  `-' `'`' `-^-``'  `' `-' `' `' `--'
                  //           .--------.
              ,-.//          .: : :  :___`.
              `--'         .'!!:::::  \\_\\ `.
                      : . /%O!!::::::::\\_\\. \\,
                     [""]/%%O!!:::::::::  : . \\,
                     |  |%%OO!!::::::::::: : . |
                     |  |%%OO!!:::::::::::::  :|
                     |  |%%OO!!!::::::::::::: :|
            :       .'--`.%%OO!!!:::::::::::: :|
          : .:     /`.__.'\\%%OO!!!::::::::::::/
         :    .   /        \\%OO!!!!::::::::::/
        ,-'``'-. ;          ;%%OO!!!!!!:::::'
        |`-..-'| |   ,--.   |`%%%OO!!!!!!:'
        | .   :| |_.','`.`._|  `%%%OO!%%'
        | . :  | |--'    `--|    `%%%%'
        |`-..-'| ||   | | | |     /__\\`-.
        \\::::::/ ||)|/|)|)|\\|           /
---------`::::'--|._ ~**~ _.|----------( -----------------------
           )(    |  `-..-'  |           \\    ______
           )(    |          |,--.       ____/ /  /\\ ,-._.-'
        ,-')('-. |          |\\`;/   .-()___  :  |`.!,-'`'/`-._
       (  '  `  )`-._    _.-'|;,|    `-,    \\_\\__\\`,-'>-.,-._
        `-....-'     ````    `--'      `-._       (`- `-._`-.   "
        
"""
            )


<mask token>

<mask token>


def startup():
    print('Hello, what is your name?')
    name = input('>')
    print("You said you're name is", name + '. Is that correct? (y/n)')
    next = input('>')
    if next == 'y':
        question()
    elif next == 'n':
        startup()


def question():
    print('Would you like to play a game? (y/n)')
    answer_1 = input('>')
    if answer_1 == 'y':
        level_1()
    elif answer_1 == 'n':
        exit(0)


def level_1_retry():
    print("OK, lets try that again. I'm thinking of a number between 1 and 10")
    guess = int(input('>'))
    if guess > number:
        print('Oops, too high. Try again?(y/n)')
        answer_2 = input('>')
        if answer_2 == 'y':
            level_1()
        elif answer_2 == 'n':
            exit(0)
    if guess < number:
        print('Oops, too low. Try again?(y/n)')
        answer_2 = input('>')
        if answer_2 == 'y':
            level_1_retry()
        elif answer_2 == 'n':
            exit(0)
    if guess == number:
        print('\tHey! You actually got it')
        print(
            """
    
            ,.        ,.      ,.
                                            ||        ||      ||  ()
             ,--. ,-. ,.,-.  ,--.,.,-. ,-.  ||-.,.  ,.|| ,-.  ||-.,. ,-. ,.,-.  ,--.
            //`-'//-\\||/|| //-||||/`'//-\\ ||-'||  ||||//-\\ ||-'||//-\\||/|| ((`-'
            ||   || |||| ||||  ||||   || || ||  || /|||||| || ||  |||| |||| ||  ``.
            \\,-.\\-//|| || \\-||||   \\-|| ||  ||//||||\\-|| ||  ||\\-//|| || ,-.))
             `--' `-' `' `'  `-,|`'    `-^-``'  `-' `'`' `-^-``'  `' `-' `' `' `--'
                              //           .--------.
                          ,-.//          .: : :  :___`.
                          `--'         .'!!:::::  \\_\\ `.
                                  : . /%O!!::::::::\\_\\. \\,
                                 [""]/%%O!!:::::::::  : . \\,
                                 |  |%%OO!!::::::::::: : . |
                                 |  |%%OO!!:::::::::::::  :|
                                 |  |%%OO!!!::::::::::::: :|
                        :       .'--`.%%OO!!!:::::::::::: :|
                      : .:     /`.__.'\\%%OO!!!::::::::::::/
                     :    .   /        \\%OO!!!!::::::::::/
                    ,-'``'-. ;          ;%%OO!!!!!!:::::'
                    |`-..-'| |   ,--.   |`%%%OO!!!!!!:'
                    | .   :| |_.','`.`._|  `%%%OO!%%'
                    | . :  | |--'    `--|    `%%%%'
                    |`-..-'| ||   | | | |     /__\\`-.
                    \\::::::/ ||)|/|)|)|\\|           /
            ---------`::::'--|._ ~**~ _.|----------( -----------------------
                       )(    |  `-..-'  |           \\    ______
                       )(    |          |,--.       ____/ /  /\\ ,-._.-'
                    ,-')('-. |          |\\`;/   .-()___  :  |`.!,-'`'/`-._
                   (  '  `  )`-._    _.-'|;,|    `-,    \\_\\__\\`,-'>-.,-._
                    `-....-'     ````    `--'      `-._       (`- `-._`-.   "
    
            """
            )


def level_1():
    print("Fantastic! I'm thinking of a number between 1 and 10")
    guess = int(input('>'))
    if guess > number:
        print('Oops, too high. Try again? (y/n)')
        answer_2 = input('>')
        if answer_2 == 'y':
            level_1_retry()
        elif answer_2 == 'n':
            exit(0)
    if guess < number:
        print('Oops, too low. Try again?(y/n)')
        answer_2 = input('>')
        if answer_2 == 'y':
            level_1_retry()
        elif answer_2 == 'n':
            exit(0)
    if guess == number:
        print('\tHey! You actually got it')
        print(
            """

,.        ,.      ,.
                                ||        ||      ||  ()
 ,--. ,-. ,.,-.  ,--.,.,-. ,-.  ||-.,.  ,.|| ,-.  ||-.,. ,-. ,.,-.  ,--.
//`-'//-\\||/|| //-||||/`'//-\\ ||-'||  ||||//-\\ ||-'||//-\\||/|| ((`-'
||   || |||| ||||  ||||   || || ||  || /|||||| || ||  |||| |||| ||  ``.
\\,-.\\-//|| || \\-||||   \\-|| ||  ||//||||\\-|| ||  ||\\-//|| || ,-.))
 `--' `-' `' `'  `-,|`'    `-^-``'  `-' `'`' `-^-``'  `' `-' `' `' `--'
                  //           .--------.
              ,-.//          .: : :  :___`.
              `--'         .'!!:::::  \\_\\ `.
                      : . /%O!!::::::::\\_\\. \\,
                     [""]/%%O!!:::::::::  : . \\,
                     |  |%%OO!!::::::::::: : . |
                     |  |%%OO!!:::::::::::::  :|
                     |  |%%OO!!!::::::::::::: :|
            :       .'--`.%%OO!!!:::::::::::: :|
          : .:     /`.__.'\\%%OO!!!::::::::::::/
         :    .   /        \\%OO!!!!::::::::::/
        ,-'``'-. ;          ;%%OO!!!!!!:::::'
        |`-..-'| |   ,--.   |`%%%OO!!!!!!:'
        | .   :| |_.','`.`._|  `%%%OO!%%'
        | . :  | |--'    `--|    `%%%%'
        |`-..-'| ||   | | | |     /__\\`-.
        \\::::::/ ||)|/|)|)|\\|           /
---------`::::'--|._ ~**~ _.|----------( -----------------------
           )(    |  `-..-'  |           \\    ______
           )(    |          |,--.       ____/ /  /\\ ,-._.-'
        ,-')('-. |          |\\`;/   .-()___  :  |`.!,-'`'/`-._
       (  '  `  )`-._    _.-'|;,|    `-,    \\_\\__\\`,-'>-.,-._
        `-....-'     ````    `--'      `-._       (`- `-._`-.   "
        
"""
            )


startup()

<mask token>
number = random.randint(1, 10)
tries = 1


def startup():
    print('Hello, what is your name?')
    name = input('>')
    print("You said you're name is", name + '. Is that correct? (y/n)')
    next = input('>')
    if next == 'y':
        question()
    elif next == 'n':
        startup()


def question():
    print('Would you like to play a game? (y/n)')
    answer_1 = input('>')
    if answer_1 == 'y':
        level_1()
    elif answer_1 == 'n':
        exit(0)


def level_1_retry():
    print("OK, lets try that again. I'm thinking of a number between 1 and 10")
    guess = int(input('>'))
    if guess > number:
        print('Oops, too high. Try again?(y/n)')
        answer_2 = input('>')
        if answer_2 == 'y':
            level_1()
        elif answer_2 == 'n':
            exit(0)
    if guess < number:
        print('Oops, too low. Try again?(y/n)')
        answer_2 = input('>')
        if answer_2 == 'y':
            level_1_retry()
        elif answer_2 == 'n':
            exit(0)
    if guess == number:
        print('\tHey! You actually got it')
        print(
            """
    
            ,.        ,.      ,.
                                            ||        ||      ||  ()
             ,--. ,-. ,.,-.  ,--.,.,-. ,-.  ||-.,.  ,.|| ,-.  ||-.,. ,-. ,.,-.  ,--.
            //`-'//-\\||/|| //-||||/`'//-\\ ||-'||  ||||//-\\ ||-'||//-\\||/|| ((`-'
            ||   || |||| ||||  ||||   || || ||  || /|||||| || ||  |||| |||| ||  ``.
            \\,-.\\-//|| || \\-||||   \\-|| ||  ||//||||\\-|| ||  ||\\-//|| || ,-.))
             `--' `-' `' `'  `-,|`'    `-^-``'  `-' `'`' `-^-``'  `' `-' `' `' `--'
                              //           .--------.
                          ,-.//          .: : :  :___`.
                          `--'         .'!!:::::  \\_\\ `.
                                  : . /%O!!::::::::\\_\\. \\,
                                 [""]/%%O!!:::::::::  : . \\,
                                 |  |%%OO!!::::::::::: : . |
                                 |  |%%OO!!:::::::::::::  :|
                                 |  |%%OO!!!::::::::::::: :|
                        :       .'--`.%%OO!!!:::::::::::: :|
                      : .:     /`.__.'\\%%OO!!!::::::::::::/
                     :    .   /        \\%OO!!!!::::::::::/
                    ,-'``'-. ;          ;%%OO!!!!!!:::::'
                    |`-..-'| |   ,--.   |`%%%OO!!!!!!:'
                    | .   :| |_.','`.`._|  `%%%OO!%%'
                    | . :  | |--'    `--|    `%%%%'
                    |`-..-'| ||   | | | |     /__\\`-.
                    \\::::::/ ||)|/|)|)|\\|           /
            ---------`::::'--|._ ~**~ _.|----------( -----------------------
                       )(    |  `-..-'  |           \\    ______
                       )(    |          |,--.       ____/ /  /\\ ,-._.-'
                    ,-')('-. |          |\\`;/   .-()___  :  |`.!,-'`'/`-._
                   (  '  `  )`-._    _.-'|;,|    `-,    \\_\\__\\`,-'>-.,-._
                    `-....-'     ````    `--'      `-._       (`- `-._`-.   "
    
            """
            )


def level_1():
    print("Fantastic! I'm thinking of a number between 1 and 10")
    guess = int(input('>'))
    if guess > number:
        print('Oops, too high. Try again? (y/n)')
        answer_2 = input('>')
        if answer_2 == 'y':
            level_1_retry()
        elif answer_2 == 'n':
            exit(0)
    if guess < number:
        print('Oops, too low. Try again?(y/n)')
        answer_2 = input('>')
        if answer_2 == 'y':
            level_1_retry()
        elif answer_2 == 'n':
            exit(0)
    if guess == number:
        print('\tHey! You actually got it')
        print(
            """

,.        ,.      ,.
                                ||        ||      ||  ()
 ,--. ,-. ,.,-.  ,--.,.,-. ,-.  ||-.,.  ,.|| ,-.  ||-.,. ,-. ,.,-.  ,--.
//`-'//-\\||/|| //-||||/`'//-\\ ||-'||  ||||//-\\ ||-'||//-\\||/|| ((`-'
||   || |||| ||||  ||||   || || ||  || /|||||| || ||  |||| |||| ||  ``.
\\,-.\\-//|| || \\-||||   \\-|| ||  ||//||||\\-|| ||  ||\\-//|| || ,-.))
 `--' `-' `' `'  `-,|`'    `-^-``'  `-' `'`' `-^-``'  `' `-' `' `' `--'
                  //           .--------.
              ,-.//          .: : :  :___`.
              `--'         .'!!:::::  \\_\\ `.
                      : . /%O!!::::::::\\_\\. \\,
                     [""]/%%O!!:::::::::  : . \\,
                     |  |%%OO!!::::::::::: : . |
                     |  |%%OO!!:::::::::::::  :|
                     |  |%%OO!!!::::::::::::: :|
            :       .'--`.%%OO!!!:::::::::::: :|
          : .:     /`.__.'\\%%OO!!!::::::::::::/
         :    .   /        \\%OO!!!!::::::::::/
        ,-'``'-. ;          ;%%OO!!!!!!:::::'
        |`-..-'| |   ,--.   |`%%%OO!!!!!!:'
        | .   :| |_.','`.`._|  `%%%OO!%%'
        | . :  | |--'    `--|    `%%%%'
        |`-..-'| ||   | | | |     /__\\`-.
        \\::::::/ ||)|/|)|)|\\|           /
---------`::::'--|._ ~**~ _.|----------( -----------------------
           )(    |  `-..-'  |           \\    ______
           )(    |          |,--.       ____/ /  /\\ ,-._.-'
        ,-')('-. |          |\\`;/   .-()___  :  |`.!,-'`'/`-._
       (  '  `  )`-._    _.-'|;,|    `-,    \\_\\__\\`,-'>-.,-._
        `-....-'     ````    `--'      `-._       (`- `-._`-.   "
        
"""
            )


startup()

import random
from sys import exit

number = random.randint(1,10)
tries = 1

def startup():
    print("Hello, what is your name?")
    name = input(">")

    print("You said you're name is", name + ". Is that correct? (y/n)", )
    next = input(">")
    if next == "y":
        question()
    elif next == "n":
        startup()

def question():
    print("Would you like to play a game? (y/n)")
    answer_1 = input(">")
    if answer_1 == "y":
        level_1()
    elif answer_1 == "n":
        exit(0)

def level_1_retry():
    print("OK, lets try that again. I'm thinking of a number between 1 and 10")
    guess = int(input(">"))
    if guess > number:
        print("Oops, too high. Try again?(y/n)")
        answer_2 = input(">")
        if answer_2 == "y":
            level_1()
        elif answer_2 == "n":
            exit (0)
    if guess < number:
        print("Oops, too low. Try again?(y/n)")
        answer_2 = input(">")
        if answer_2 == "y":
                    level_1_retry()
        elif answer_2 == "n":
                    exit(0)
    if guess == number:
        print("\tHey! You actually got it")
        print(

        '''
    
            ,.        ,.      ,.
                                            ||        ||      ||  ()
             ,--. ,-. ,.,-.  ,--.,.,-. ,-.  ||-.,.  ,.|| ,-.  ||-.,. ,-. ,.,-.  ,--.
            //`-'//-\\||/|| //-||||/`'//-\\ ||-'||  ||||//-\\ ||-'||//-\\||/|| ((`-'
            ||   || |||| ||||  ||||   || || ||  || /|||||| || ||  |||| |||| ||  ``.
            \\,-.\\-//|| || \\-||||   \\-|| ||  ||//||||\\-|| ||  ||\\-//|| || ,-.))
             `--' `-' `' `'  `-,|`'    `-^-``'  `-' `'`' `-^-``'  `' `-' `' `' `--'
                              //           .--------.
                          ,-.//          .: : :  :___`.
                          `--'         .'!!:::::  \\_\ `.
                                  : . /%O!!::::::::\\_\. \,
                                 [""]/%%O!!:::::::::  : . \,
                                 |  |%%OO!!::::::::::: : . |
                                 |  |%%OO!!:::::::::::::  :|
                                 |  |%%OO!!!::::::::::::: :|
                        :       .'--`.%%OO!!!:::::::::::: :|
                      : .:     /`.__.'\%%OO!!!::::::::::::/
                     :    .   /        \%OO!!!!::::::::::/
                    ,-'``'-. ;          ;%%OO!!!!!!:::::'
                    |`-..-'| |   ,--.   |`%%%OO!!!!!!:'
                    | .   :| |_.','`.`._|  `%%%OO!%%'
                    | . :  | |--'    `--|    `%%%%'
                    |`-..-'| ||   | | | |     /__\`-.
                    \::::::/ ||)|/|)|)|\|           /
            ---------`::::'--|._ ~**~ _.|----------( -----------------------
                       )(    |  `-..-'  |           \    ______
                       )(    |          |,--.       ____/ /  /\\ ,-._.-'
                    ,-')('-. |          |\`;/   .-()___  :  |`.!,-'`'/`-._
                   (  '  `  )`-._    _.-'|;,|    `-,    \_\__\`,-'>-.,-._
                    `-....-'     ````    `--'      `-._       (`- `-._`-.   "
    
            '''
                )

def level_1():
    print("Fantastic! I'm thinking of a number between 1 and 10")
    guess = int(input(">"))
    if guess > number:
        print("Oops, too high. Try again? (y/n)")
        answer_2 = input(">")
        if answer_2 == "y":
            level_1_retry()
        elif answer_2 == "n":
            exit(0)
    if guess < number:
        print("Oops, too low. Try again?(y/n)")
        answer_2 = input(">")
        if answer_2 == "y":
            level_1_retry()
        elif answer_2 == "n":
            exit(0)
    if guess == number:
        print("\tHey! You actually got it")
        print(
        '''

,.        ,.      ,.
                                ||        ||      ||  ()
 ,--. ,-. ,.,-.  ,--.,.,-. ,-.  ||-.,.  ,.|| ,-.  ||-.,. ,-. ,.,-.  ,--.
//`-'//-\\||/|| //-||||/`'//-\\ ||-'||  ||||//-\\ ||-'||//-\\||/|| ((`-'
||   || |||| ||||  ||||   || || ||  || /|||||| || ||  |||| |||| ||  ``.
\\,-.\\-//|| || \\-||||   \\-|| ||  ||//||||\\-|| ||  ||\\-//|| || ,-.))
 `--' `-' `' `'  `-,|`'    `-^-``'  `-' `'`' `-^-``'  `' `-' `' `' `--'
                  //           .--------.
              ,-.//          .: : :  :___`.
              `--'         .'!!:::::  \\_\ `.
                      : . /%O!!::::::::\\_\. \,
                     [""]/%%O!!:::::::::  : . \,
                     |  |%%OO!!::::::::::: : . |
                     |  |%%OO!!:::::::::::::  :|
                     |  |%%OO!!!::::::::::::: :|
            :       .'--`.%%OO!!!:::::::::::: :|
          : .:     /`.__.'\%%OO!!!::::::::::::/
         :    .   /        \%OO!!!!::::::::::/
        ,-'``'-. ;          ;%%OO!!!!!!:::::'
        |`-..-'| |   ,--.   |`%%%OO!!!!!!:'
        | .   :| |_.','`.`._|  `%%%OO!%%'
        | . :  | |--'    `--|    `%%%%'
        |`-..-'| ||   | | | |     /__\`-.
        \::::::/ ||)|/|)|)|\|           /
---------`::::'--|._ ~**~ _.|----------( -----------------------
           )(    |  `-..-'  |           \    ______
           )(    |          |,--.       ____/ /  /\\ ,-._.-'
        ,-')('-. |          |\`;/   .-()___  :  |`.!,-'`'/`-._
       (  '  `  )`-._    _.-'|;,|    `-,    \_\__\`,-'>-.,-._
        `-....-'     ````    `--'      `-._       (`- `-._`-.   "
        
'''
        )















startup()