Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson1_4
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
c6509cd7
authored
Jun 10, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
6e924d38
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
9.PY
j2ihfeh.py
9.PY
View file @
c6509cd7
print
(
''
)
print
(
'明月几时有,把酒问青天。不知天上宫阙,今夕是何年。我欲乘风归去,又恐惊楼宇与。高处不胜寒,起舞弄清影'
)
\ No newline at end of file
\ No newline at end of file
j2ihfeh.py
View file @
c6509cd7
...
@@ -2,4 +2,5 @@ with open(r'C:\Users\Administrator\Desktop\sales_list.txt','r',encoding='utf-8')
...
@@ -2,4 +2,5 @@ with open(r'C:\Users\Administrator\Desktop\sales_list.txt','r',encoding='utf-8')
a
=
file
.
readlines
()
a
=
file
.
readlines
()
# print(a)
# print(a)
for
i
in
a
:
for
i
in
a
:
print
(
i
)
data
=
i
.
split
()
\ No newline at end of file
print
(
data
[
1
:])
\ 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