我想做一個簡單的小程序,告訴用戶密碼是錯誤的。
但是,當我想讓程序回來他們輸入的密碼,並說這是錯誤的,它不會讓我。有人幫我..簡單的密碼程序
username = raw_input("Please enter your username: ")
password = raw_input("Please enter your password: ")
fail1 = raw_input("Your password is very insecure, make a new one: ")
print "Your password [password] is too weak!"
你說的 '它不會讓你'?你有沒有更多的代碼顯示給我們? – toxotes 2013-03-19 19:47:16
你是什麼意思,它不會讓你?它錯誤嗎? – Hoopdady 2013-03-19 19:47:41