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
Aug 01, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
9204a048
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
15 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
dd.py
deleted
100644 → 0
View file @
9204a048
def
hello
(
name
):
con
=
"你好!"
+
name
return
con
re
=
hello
(
"xiao"
)
print
(
re
)
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
func.py
View file @
234f0837
...
@@ -13,7 +13,7 @@ def nn():
...
@@ -13,7 +13,7 @@ def nn():
total
.
append
(
u
)
total
.
append
(
u
)
finally
:
finally
:
print
(
'**************************************'
)
print
(
'**************************************'
)
print
(
total
)
return
total
def
sun
(
un
):
def
sun
(
un
):
cou
=
0
cou
=
0
for
i
in
un
:
for
i
in
un
:
...
...
rr.py
View file @
234f0837
import
func
import
func
d
=
func
.
nn
()
d
=
func
.
nn
()
s
=
func
.
sun
(
d
)
s
=
func
.
sun
(
d
)
print
(
s
)
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