Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson11_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
cf5eaf14
authored
Apr 10, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
7e145951
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
__pycache__/func.cpython-37.pyc
func.py
swim.py
__pycache__/func.cpython-37.pyc
0 → 100644
View file @
cf5eaf14
File added
func.py
View file @
cf5eaf14
...
@@ -17,5 +17,4 @@ def sum(total):
...
@@ -17,5 +17,4 @@ def sum(total):
for
i
in
total
:
for
i
in
total
:
count
+=
i
count
+=
i
return
count
return
count
a
=
new_input
()
print
(
sum
(
a
))
swim.py
0 → 100644
View file @
cf5eaf14
import
func
a
=
func
.
new_input
()
print
(
'你的游泳成绩是:'
,
func
.
sum
(
a
))
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