Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson11_4
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
c96d444e
authored
Oct 17, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
6c9d0c22
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
func.py
func.py
View file @
c96d444e
...
@@ -12,12 +12,12 @@ def sb_input():
...
@@ -12,12 +12,12 @@ def sb_input():
else
:
else
:
sb
.
append
(
unit
)
sb
.
append
(
unit
)
print
(
"-"
*
30
)
print
(
"-"
*
30
)
print
(
total
)
return
sb
result
=
sb
def
SB
(
money
):
def
SB
(
money
):
sb1
=
0
sb1
=
0
for
i
in
money
:
for
i
in
money
:
sb1
=
sb1
+
i
sb1
=
sb1
+
i
return
sb1
return
sb1
sb2
=
sb3_input
()
sb2
=
sb_input
()
print
(
"傻逼你花了"
+
str
(
sb4
)
+
"元,用sb5还是sb6支付"
)
sb3
=
SB
(
sb2
)
\ No newline at end of file
print
(
"傻逼你花了"
+
str
(
sb3
)
+
"元,用sb5还是sb6支付"
)
\ 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