Commit 6912f957 by BellCodeEditor

save project

parent 1bb23688
Showing with 10 additions and 1 deletions
with open(r"C:\Users\EDZ\Desktop\book.txt",'a',encoding='utf-8') as filel: with open(r"C:\Users\EDZ\Desktop\book.txt",'a',encoding='utf-8') as filel:
filel.write("小兰") filel.write("小兰")
def new_input():
total = []
while True:
unit= input("请输入(q退出);")
if unit=="q":
break
else:
total.append(unit)
print(total)
new_input()
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