Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson11_4
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
89a55613
authored
Apr 17, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
d9ff1a9a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
__pycache__/func.cpython-37.pyc
func.py
sjrgnyjshxkicn.py
__pycache__/func.cpython-37.pyc
0 → 100644
View file @
89a55613
File added
func.py
View file @
89a55613
#try改进封装函数
def
new_input
():
total
=
[]
con
=
0
...
...
@@ -13,7 +12,6 @@ def new_input():
print
(
"给我输数!"
)
else
:
total
.
append
(
unit
)
return
total
result
=
new_input
()
print
(
result
)
print
(
"您一共消费了XXX元!扫码还是现金呢?"
)
\ No newline at end of file
return
total
print
(
"谬哉!"
)
\ No newline at end of file
sjrgnyjshxkicn.py
0 → 100644
View file @
89a55613
import
func
print
(
"万物皆始于大玄冥之处"
)
print
(
"固有玄妙之说"
)
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