Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson10-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
c0c46e63
authored
May 27, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
d1ee0b6c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
diyi.py
diyi.py
View file @
c0c46e63
...
@@ -7,9 +7,10 @@ def new_input():
...
@@ -7,9 +7,10 @@ def new_input():
try
:
try
:
unit
=
int
(
unit
)
unit
=
int
(
unit
)
except
:
except
:
print
(
"
滚你妈,傻波一,脑残,写什么其他玩意儿
!"
)
print
(
"
不对
!"
)
continue
continue
else
:
else
:
total
.
append
(
unit
)
total
.
append
(
unit
)
print
(
total
)
return
total
new_input
()
result
=
new_input
()
\ No newline at end of file
print
(
"输入的菜品价格是:"
,
result
)
\ 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