##
## Welcome tothe first troublehsooting exercise. Se if you can identify the
## mistakes (at least 3) and fix them so that the program runs wihtout error!
##
attempts = 0
magicWord = '''juniper'''

while true:
    word = input('Enter the magic word: )
    attempts += 1
    if word = magicWord:
        break
    else
        print('No, but you are getting closer!')

print('You finally guessed it after ' + int(attempts) + trys!')
