Syntax error with try/except statement highlighing 'except' : I have a very simple try/except block to basically force the variable 'password' to be defined as an integer from user input. 

It is likely a dumb question, but I have tried looking around and cannot find some solution. 

try:
    password = int(input('Bob should have issued you with your 4-digit numerical password, please enter it here: ')
                   
except ValueError:
    print("Please do not type letters or symbols!!")
    
while type(password) != 'int':
        try:
            password = int(input('Bob should have issued you with your 4-digit numerical password, please enter it here: ')
        except ValueError:
            print("Please do not type letters or symbols!!")

print('Complete, we have your password.')


But, when I try run this python shell, it comes up with a Syntax Error, highlighting 'except'...