Guess game!

secret_number=9

i=1

while i<=3:

    b=int(input('Guess: '))

    i+=1

    if b==secret_number:

        print('You won!')

        break

else:

     print('You failed!')


Comments

Popular posts from this blog

Path for chromedriver