Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson13-1
This project
Loading...
Sign in
Toggle navigation
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
0b23e346
authored
Oct 10, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
7ac7f00f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
14 deletions
diy.py
sales_list.txt
diy.py
View file @
0b23e346
...
@@ -9,7 +9,6 @@ with open(r'c:\Users\Administrator\Documents\lesson13-1\sales_list.txt','r',enco
...
@@ -9,7 +9,6 @@ with open(r'c:\Users\Administrator\Documents\lesson13-1\sales_list.txt','r',enco
c
=
b
[
0
]
+
str
(
sum
)
+
"
\n
"
c
=
b
[
0
]
+
str
(
sum
)
+
"
\n
"
e
.
append
(
c
)
e
.
append
(
c
)
print
(
e
)
with
open
(
r'c:\Users\Administrator\Documents\lesson13-1\sales_list.txt'
,
'w'
,
encoding
=
'utf-8'
)
as
fhjkfg
:
with
open
(
r'c:\Users\Administrator\Documents\lesson13-1\sales_list.txt'
,
'w'
,
encoding
=
'utf-8'
)
as
fhjkfg
:
fhjkfg
.
writelines
(
e
)
fhjkfg
.
writelines
(
e
)
...
...
sales_list.txt
View file @
0b23e346
悟空3480
悟空3480
0
诺依3800
诺依3800
0
小贝1820
小贝1820
0
李丽2010
李丽2010
0
宋扬1070
宋扬1070
0
王明2450
王明2450
0
李强1640
李强1640
0
孙小白2220
孙小白2220
0
苏琪1370
苏琪1370
0
刘若若1470
刘若若1470
0
刘阳2260
刘阳2260
0
王胜男1230
王胜男1230
0
王娇1310
王娇1310
0
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment