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 0e1d0d34 authored 4 years ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent be018cdb
Hide whitespace changes
Inline Side-by-side
Showing with 10 additions and 4 deletions
  • func.py
func.py
View file @ 0e1d0d34
...@@ -11,6 +11,12 @@ def price(): ...@@ -11,6 +11,12 @@ def price():
print("输入数字哦") print("输入数字哦")
else: else:
print("继续输入") print("继续输入")
print(total) return total
d=price() def sum(list):
print(d) count=0
\ No newline at end of file for i in list:
count+=i
return count
result=price()
b=sum(result)
print(b)
\ 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