import time time.sleep(2) realPassword = "hehe" userPassword = input( "Password: " ) if userPassword == realPassword: time.sleep(1) print ("...") time.sleep(3) print ( "Welcome! " ) elif userPassword != realPassword : time.sleep(1) print ("...") time.sleep(3) print ( "System Locked! " )