Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson11_3
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
18e18d7f
authored
Sep 24, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
4a1e6eca
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletions
__pycache__/func.cpython-37.pyc
erf.py
func.py
__pycache__/func.cpython-37.pyc
0 → 100644
View file @
18e18d7f
File added
erf.py
0 → 100644
View file @
18e18d7f
import
func
date
=
func
.
new_input
()
score
=
func
.
sum
(
date
)
print
(
'这位选手的总分为:'
+
str
(
score
))
func.py
View file @
18e18d7f
...
@@ -22,7 +22,7 @@ def sum(money):
...
@@ -22,7 +22,7 @@ def sum(money):
return
count
return
count
price
=
new_input
()
price
=
new_input
()
pay
=
sum
(
price
)
pay
=
sum
(
price
)
print
(
'您一共消费了'
+
str
(
pay
)
+
'元!扫码还是现金呢?'
)
#
print('您一共消费了' +str(pay) + '元!扫码还是现金呢?')
...
...
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