all_text = () f = (,) line f.readlines(): line = line.strip() all_text.append(line) f.close() user_name = () name_found = i (,(all_text),): user_name == all_text[i]: name_found = all_text[i+] == : () : sum = j (,): sum-=user_pw = (%sum)user_pw == all_text[i+]: () sum == : () all_text[i+] = f = (,) i all_text: f.write((i)) f.write() f.close() name_found == : ()
20160621_Task_02_logon_interface
原文地址:http://luluuy.blog.51cto.com/279347/1791396