partial code
if password_Dictionary[username] == password:
    print("Allow!\n")
    break
else:
    print("Wrong!\n")
error
if password_Dictionary[username] == password:
KeyError: 'cskmcdsk'
explanation
If the user inputs a username but not the correct passwordenter code here the program correctly runs a print statement that states user inputted wrong password, but when the user inputs an incorrect username/one that does not exist, it raises that 'KeyError' with 'cskmcdsk' being the random username the user tried inputting but it does not exist. 
question
How would I stop the coding from causing an error and instead continue running and instead print an output that states that username is not in the dictionary?
 
     
     
    