Commit 6e8b7576 by BellCodeEditor

save project

parent a7e0cf11
Showing with 5 additions and 6 deletions
...@@ -17,4 +17,4 @@ def sum(m): ...@@ -17,4 +17,4 @@ def sum(m):
for i in m: for i in m:
count=count+i count=count+i
#print("您一共消费"+str(count)+"元") #print("您一共消费"+str(count)+"元")
sum(b) sum(b)
\ No newline at end of file
filel=open('C:\\Users\\\\Desktop\\14545.txt','a',encoding = 'utf-8')
filel.write('小兰\n')
filel.colse()
#filel=open('C:\\Users\\鲍\\Desktop\\14545.txt','a',encoding = 'utf-8') #filel=open('C:\\Users\\鲍\\Desktop\\14545.txt','a',encoding = 'utf-8')
#filel.write('\n') #filel.write('小兰\n')
#filel.colse() #filel.colse()
with open('C:\\Users\\\\Desktop\\14545.txt','a',encoding = 'utf-8') as
filel:
filel.write('eds\n')
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