Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson11_5
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
234f0837
authored
3 years ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
9204a048
c87493l961p219a10037/wx456862
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
16 deletions
__pycache__/func.cpython-37.pyc
dd.py
ff.py
func.py
rr.py
__pycache__/func.cpython-37.pyc
View file @
234f0837
No preview for this file type
This diff is collapsed.
Click to expand it.
dd.py
deleted
100644 → 0
View file @
9204a048
def
hello
(
name
):
con
=
"你好!"
+
name
return
con
re
=
hello
(
"xiao"
)
print
(
re
)
This diff is collapsed.
Click to expand it.
ff.py
0 → 100644
View file @
234f0837
a
=
open
(
r'D:\Desktop\nami.txt'
,
'w'
,
encoding
=
'utf-8'
)
a
.
write
(
'sawfhfs'
)
a
=
open
(
r'D:\Desktop\nami.txt'
,
'r'
,
encoding
=
'utf-8'
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
func.py
View file @
234f0837
...
...
@@ -13,12 +13,12 @@ def nn():
total
.
append
(
u
)
finally
:
print
(
'**************************************'
)
print
(
total
)
return
total
def
sun
(
un
):
cou
=
0
for
i
in
un
:
cou
=
cou
+
i
return
cou
return
cou
# pr=nn()
# pa=sun(pr)
# print(str(pr))
...
...
This diff is collapsed.
Click to expand it.
rr.py
View file @
234f0837
import
func
d
=
func
.
nn
()
s
=
func
.
sun
(
d
)
print
(
s
)
This diff is collapsed.
Click to expand it.
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