userpassword = input("Enter password: ") password = "5Ecr3t" if password == userpassword: print('Welcome!') else: if userpassword != password: print("System Locked!")