Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson2-5_DIY1
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
8cc5be35
authored
Mar 12, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
cb28d55c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
8 deletions
d少年.py
jia
圆.py
菜单.py
d少年.py
0 → 100644
View file @
8cc5be35
a
=
int
(
input
(
"请输入A:"
))
a
=
int
(
input
(
"请输入A:"
))
b
=
int
(
input
(
"请输入B:"
))
c
=
int
(
input
(
"请输入C:"
))
D
=
(
a
+
b
)
*
c
print
(
D
)
jia
View file @
8cc5be35
s=int(input("请输入一个五位数:"))
a=int((s-s%10000)/10000)
b=int(((s-(s%1000))-a*10000)/1000)
c=int(((s-(s%100))-a*10000-b*1000)/100)
d=int(((s%100)-(s%10))/10)
e=int(s%10)
print(e,d,c,b,a)
圆.py
0 → 100644
View file @
8cc5be35
import
turtle
import
turtle
zhouchang
=
random
circle
\ No newline at end of file
菜单.py
0 → 100644
View file @
8cc5be35
a
=
[]
a
=
[]
While
True
:
b
=
input
(
"请输入菜的价格:"
)
if
a
==
'q'
:
break
else
:
jiagedan
.
append
(
a
)
print
(
jiagedan
)
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