Commit 9956299a by BellCodeEditor

save project

parent 6eb04230
Showing with 6 additions and 12 deletions
def a():
total = []
while True:
unit= input("请输入(q退出):")
if unit== 'q':
break
else:
try:
unit=int(unit)
except:
total.append(unit)
print(total)
with open(r"D:\我的文档\Desktop\test.txt","r",encoding="UTF-8")as filel
for data in filel:
if""in data
data=data.replace()
new_data +=data
print(new_data)
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