Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson11_2
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
83374e8a
authored
Nov 03, 2024
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
1bf51263
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
func.py
func.py
View file @
83374e8a
def
new_input
():
def
new_input
():
while
True
:
while
True
:
total
=
[]
total
=
[]
money
=
inp
i
t
(
'请输入(q退出):'
)
money
=
inp
u
t
(
'请输入(q退出):'
)
if
money
==
'q'
:
if
money
==
'q'
:
break
break
else
:
else
:
...
@@ -15,13 +15,13 @@ def new_input():
...
@@ -15,13 +15,13 @@ def new_input():
print
(
"_"
*
30
)
print
(
"_"
*
30
)
return
total
return
total
def
cont
(
l
b
):
def
cont
(
l
iebiao
):
mun
=
0
num
=
0
for
i
in
lb
:
for
i
in
lb
:
mun
=
mun
+
i
num
=
num
+
i
return
mun
return
num
r
sul
=
tots1
r
esult
=
new_input
()
print
(
r
sul
)
print
(
r
esult
)
print
(
"已经拿到用户列表"
)
print
(
"已经拿到用户列表"
)
print
(
"开始进行方案2"
)
print
(
"开始进行方案2"
)
print
(
cout
(
result
))
print
(
cout
(
result
))
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