Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

Administrator / lesson11_4

  • This project
    • Loading...
  • Sign in
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 eb9193b5 authored 11 months ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent 1b60d90a
Show whitespace changes
Inline Side-by-side
Showing with 8 additions and 4 deletions
  • func.py
func.py
View file @ eb9193b5
...@@ -11,7 +11,7 @@ def new_input(): ...@@ -11,7 +11,7 @@ def new_input():
print('输路整数') print('输路整数')
else: else:
total.append(unit) total.append(unit)
print(total) #print(total)
return total return total
...@@ -19,9 +19,13 @@ def sum(jjb): ...@@ -19,9 +19,13 @@ def sum(jjb):
d=0 d=0
for i in jjb: for i in jjb:
d=d+i d=d+i
print(d) return d
a=new_input() a=new_input()
print(a) print(a)
sum(jjb)
\ No newline at end of file he=sum(a)
print(he)
\ No newline at end of file
This diff is collapsed. Click to expand it.
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment