Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson13-3
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
781511a5
authored
Dec 11, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
af406c84
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
diy copy.py
diy.py
sales_list.txt
diy copy.py
0 → 100644
View file @
781511a5
diy.py
0 → 100644
View file @
781511a5
with
open
(
r'c:\Users\HD11\Documents\lesson13-1\sales_list.txt'
,
'r'
,
encoding
=
'utf-8'
)
as
file1
:
data
=
file1
.
readlines
()
for
i
in
data
:
a
=
i
[
0
:
-
1
]
.
split
(
" "
)
print
(
a
[
1
:])
\ No newline at end of file
sales_list.txt
0 → 100644
View file @
781511a5
悟空 12 15 11 12 11
诺依 21 29 15 21 21
小贝 29 11 11 15 13
李丽 13 15 20 15 15
宋扬 11 11 11 11 15
王明 30 27 26 24 29
李强 12 12 11 15 11
孙小白 25 26 12 15 27
苏琪 15 11 15 15 30
刘若若 11 11 13 11 20
刘阳 11 15 22 11 23
王胜男 27 15 15 26 13
王娇 12 11 12 12 15
\ No newline at end of file
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