Commit 556e91b9 by BellCodeEditor

save project

parent ba4981a6
Showing with 10 additions and 4 deletions
player=input("请出拳(石头/剪刀/布):") with open(r"C:\Users\acer\Desktop\YS.txt","w",encoding="utf-8") as file1:
print("玩家出拳:"+player) file1.write("空\n")
"C:\Users\acer\Desktop\新建文本文档.txt" file1.write("荧\n")
\ No newline at end of file file1.write("派蒙\n")
with open(r"C:\Users\acer\Desktop\YS.txt","r",encoding="utf-8") as file1:
for data in file1:
if "派蒙" in data:
print("下一站至冬")
\ 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