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 == : ()
时间: 2024-10-05 15:34:07