#Magic Number program written in Python 3

#Define variable magic_number
magic=7

#Ask user for a number
guess=int(input('Please guess the magic number: '))

while guess!=magic:
    print('Sorry, that is wrong')
    guess=int(input('Please try entering another number: '))
    
print('Congratulations, that is the magic number!')
print('Goodbye')





