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
():
to
led
=
[]
to
tal
=
[]
while
True
:
yu
=
input
(
"亲,请输入价格~"
)
if
yu
==
'q'
:
...
...
@@ -13,5 +13,11 @@ def yuyubb():
toled
.
append
(
yu
)
finally
:
print
(
"-"
*
30
)
print
(
toled
)
yuyubb
()
\ No newline at end of file
print
(
total
)
def
Sum
(
money
):
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
}
for
k
,
v
in
s
.
items
():
while
True
:
asd
=
open
(
C
:
\
Users
\
Administrator
\
Desktop
)
\ No newline at end of file
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