Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

bellcode / lesson13-5

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit 4ff6caf8 authored a year ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent ca864d2f
Hide whitespace changes
Inline Side-by-side
Showing with 1 additions and 1 deletions
  • diy.py
diy.py
View file @ 4ff6caf8
......@@ -6,6 +6,6 @@ with open(r'c:\Users\admin\Desktop\sales_list.txt.txt','r',encoding='utf-8') as
qian=0
for b in new_a[1:]:
qian=qian+int(b)
xin_liebiao.append(new_a[0]+str(qian)+'/n')
xin_liebiao.append(new_a[0]+str(qian)+'\n')
with open(r'c:\Users\admin\Desktop\a.txt','w',encoding='utf-8') as d:
d.writelines(xin_liebiao)
This diff is collapsed. Click to expand it.
  • Write
  • Preview
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