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
c1fee775
authored
Mar 18, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
4e41f4b6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
__pycache__/func0.cpython-37.pyc
func0.py
swam.py
__pycache__/func0.cpython-37.pyc
0 → 100644
View file @
c1fee775
File added
func0.py
View file @
c1fee775
...
@@ -21,4 +21,4 @@ def sun(money):
...
@@ -21,4 +21,4 @@ def sun(money):
price
=
new_input
()
price
=
new_input
()
pay
=
sum
(
price
)
pay
=
sum
(
price
)
print
(
'您一共消费了'
+
str
(
pay
)
+
'元!请问您是支付宝,微信还是现金呢?'
)
#print('您一共消费了'+str(pay)+'元!请问您是支付宝,微信还是现金呢?')
\ No newline at end of file
\ No newline at end of file
swam.py
0 → 100644
View file @
c1fee775
import
func0
data
=
func0
.
new_input
()
score
=
func0
.
sum
(
data
)
print
(
'这位选手总分为'
+
str
(
s
))
\ 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