# Author"David.z user = "david" password = "aa1234" count=0 while count<3: login_user=input("Please key username:") login_password=input("Please key password:") if login_user==user and login_password==password: print ("Welcome to the program!!!") else: print("enter error!") count +=1 if count==3: print ("enter times out!!!") break