# 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
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did162424