Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson10-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
65bdeae7
authored
Jul 13, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
d883dc75
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
diy.py
wfiowej.py
diy.py
View file @
65bdeae7
def
yuyubb
():
def
yuyubb
():
to
led
=
[]
to
tal
=
[]
while
True
:
while
True
:
yu
=
input
(
"亲,请输入价格~"
)
yu
=
input
(
"亲,请输入价格~"
)
if
yu
==
'q'
:
if
yu
==
'q'
:
...
@@ -13,5 +13,11 @@ def yuyubb():
...
@@ -13,5 +13,11 @@ def yuyubb():
toled
.
append
(
yu
)
toled
.
append
(
yu
)
finally
:
finally
:
print
(
"-"
*
30
)
print
(
"-"
*
30
)
print
(
toled
)
print
(
total
)
yuyubb
()
def
Sum
(
money
):
\ No newline at end of file
count
=
0
for
i
in
money
:
count
+=
i
return
count
total
sum
(
total
)
\ No newline at end of file
wfiowej.py
View file @
65bdeae7
s
{
"a"
,
1
:
"C"
,
2
:
"k"
,
3
}
asd
=
open
(
C
:
\
Users
\
Administrator
\
Desktop
)
for
k
,
v
in
s
.
items
():
\ No newline at end of file
while
True
:
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