print("----------------------------") realpassword = "realpasword" userpassword = input("enter your password: ") print("----------------------------") if userpassword == realpassword : print("correct") print("welcome to your device") else: print("incorrect") print("you have been locked form your device for 24 hours!!") print("----------------------------")