Commit eccfd4c8 by BellCodeEditor

save project

parent d06c675a
Showing with 3 additions and 2 deletions
...@@ -12,4 +12,5 @@ with open(r"C:\Users\Administrator\Documents\lesson12-1\diy.txt","p".encoding="u ...@@ -12,4 +12,5 @@ with open(r"C:\Users\Administrator\Documents\lesson12-1\diy.txt","p".encoding="u
if "李文:9本" in data: if "李文:9本" in data:
print("niubi") print("niubi")
else: else:
print("sd") print("sd")
\ No newline at end of file print(str.replace("9","8"))
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment