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
1f5de9de
authored
Sep 25, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
fb765d28
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
6 deletions
diy.py
sales_list.txt
diy.py
View file @
1f5de9de
sales
=
open
(
r'c:\Users\Windows 10\Documents\lesson13-1\sales_list.txt'
,
"r"
,
encoding
=
"utf-8"
)
with
open
(
r'c:\Users\Windows 10\Documents\lesson13-1\sales_list.txt'
,
"r"
,
encoding
=
"utf-8"
)
as
file
:
\ No newline at end of file
a
=
file
.
readlines
()
print
(
a
)
\ No newline at end of file
sales_list.txt
View file @
1f5de9de
悟空 1 3
悟空40
诺依 19 273 28000
诺依740
小贝 882333 90112 22
小贝2000
\ No newline at end of file
小心1650
小丽1430
小妹690
小看我77255770
小丑30
阿斯37260
加特8932945872686876276420939624323658743268736576576437632699400
小矛盾阿萨238970
阿凡达108430
旺达15130590
樱子563850
樱子2332444333225455319500
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