Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson11_3
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
7647f913
authored
Oct 29, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
38bfee22
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
__pycache__/func.cpython-37.pyc
exam.py
func.py
__pycache__/func.cpython-37.pyc
0 → 100644
View file @
7647f913
File added
exam.py
0 → 100644
View file @
7647f913
import
func
date
=
func
.
cai_kkk
()
print
(
date
)
score
=
func
.
asd
(
date
)
print
(
score
)
\ No newline at end of file
func.py
View file @
7647f913
...
@@ -16,12 +16,12 @@ def cai_kkk():
...
@@ -16,12 +16,12 @@ def cai_kkk():
return
total
return
total
new
=
cai_kkk
()
#
new=cai_kkk()
print
(
new
)
#
print(new)
def
asd
(
money
):
def
asd
(
money
):
count
=
0
count
=
0
for
i
in
money
:
for
i
in
money
:
count
=
count
+
i
count
=
count
+
i
return
count
return
count
dsd
=
asd
(
new
)
#
dsd=asd(new)
print
(
"总共是"
+
str
(
dsd
)
+
"元"
)
#
print("总共是"+str(dsd)+"元")
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