import time realUsername = "jim59" realPassword = "banana" time.sleep(1) userUsername = input( "Username: " ) time.sleep(1) userPassword = input( "Password: " ) time.sleep(1) if userUsername == realUsername : if userPassword == realPassword : print( "Correct" ) print( "You are free to proceed" ) else: print('Sorry, but your password is incorrect') else: print('Sorry, but your username is not recognised')