python第一期作业

# Author"David.zuser = "david"password = "aa1234"count=0while 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 +=1if count==3:print ("enter times out!!!")break

猜你喜欢

转载自blog.51cto.com/3180829/2681049