jeudi 28 mai 2020

Random packages-IndentationError: unindent does not match any outer indentation level

random_generated = rando.randint(1,6)
print("This is the number generated", random_generated)

get_answer = input("Wanna play again!Enter: ")
           = int(input("Wanna play again? Enter y/n: "))
    while (True)
        = input("Wanna play again? Enter y/n: ")
        if get_answer == 'y':
            random_generated = random.randint(1,6)
            print('This is the number generated', random_generated)
            if get_answer == 'n':
                break



Aucun commentaire:

Enregistrer un commentaire