1. 程式人生 > >python第一期作業

python第一期作業

blog ror pos gin gpo break style welcome pro

技術分享圖片技術分享圖片

# 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

python第一期作業