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
0bac2873
authored
Oct 30, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
6f8e8098
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
7 deletions
__pycache__/func.cpython-37.pyc
func.py
qiuhehanshu.py
sdfsd.py
swim.py
__pycache__/func.cpython-37.pyc
View file @
0bac2873
No preview for this file type
func.py
View file @
0bac2873
...
...
@@ -20,4 +20,4 @@ def sum(m):
return
count
a
=
suan_zhang
()
b
=
sum
(
a
)
# print("您一共消费"+str(b)+"元。")
\ No newline at end of file
print
(
"您一共得分"
+
str
(
b
)
+
"分。"
)
\ No newline at end of file
qiuhehanshu.py
0 → 100644
View file @
0bac2873
def
baba
(
x
,
y
):
s
=
x
+
y
print
(
s
)
baba
(
3
,
4
)
\ No newline at end of file
sdfsd.py
0 → 100644
View file @
0bac2873
def
sum
(
x
,
y
):
s
=
x
+
y
return
s
result
=
sum
(
3
,
5
)
print
(
result
)
\ No newline at end of file
swim.py
View file @
0bac2873
import
func
import
random
data
=
func
.
suan_zhang
()
ggg
=
func
.
sum
()
data
ggg
print
(
"您一共得分"
+
str
(
b
)
+
"分."
)
\ No newline at end of file
ggg
=
func
.
sum
(
data
)
\ 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