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
f5dbe30c
authored
May 22, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
8887cd18
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
5 deletions
2.py
__pycache__/aaa.cpython-37.pyc
1.py → aaa.py
2.py
0 → 100644
View file @
f5dbe30c
import
aaa
a
=
aaa
.
aa
()
b
=
aaa
.
bb
(
a
)
print
(
str
(
b
))
\ No newline at end of file
__pycache__/aaa.cpython-37.pyc
0 → 100644
View file @
f5dbe30c
File added
1
.py
→
aaa
.py
View file @
f5dbe30c
def
aa
():
def
aa
():
money
=
[]
money
=
[]
count
=
0
while
True
:
while
True
:
a
=
input
(
"输"
)
a
=
input
(
"输"
)
if
a
==
"q"
:
if
a
==
"q"
:
break
break
else
:
else
:
money
.
insert
(
0
,
int
(
a
))
money
.
insert
(
0
,
int
(
a
))
for
i
in
money
:
return
(
money
)
count
=
count
+
i
return
(
count
)
def
bb
(
money_a
):
print
(
str
(
aa
()))
b
=
0
for
i
in
money_a
:
b
=
b
+
i
return
(
b
)
...
...
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