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

Administrator / lesson11_5

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

auto save

parent 5f635235
Show whitespace changes
Inline Side-by-side
Showing with 8 additions and 4 deletions
  • __pycache__/fun1.cpython-37.pyc
  • fun1.py
  • fun2.py
__pycache__/fun1.cpython-37.pyc
View file @ 7014884b
No preview for this file type
This diff is collapsed. Click to expand it.
fun1.py
View file @ 7014884b
...@@ -31,6 +31,6 @@ def sum(money): ...@@ -31,6 +31,6 @@ def sum(money):
count += i count += i
return count return count
total = new_input() # total = new_input()
num = sum(total) # num = sum(total)
print(num) # print(num)
This diff is collapsed. Click to expand it.
fun2.py
View file @ 7014884b
import fun1 import fun1
print(fun1.sum(fun1.new_input()))
a = fun1.new_input()
b = fun1.sum(a)
print(b)
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