Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson3-5-2_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
1713aaed
authored
2 years ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
87226869
c209493l762p219a8142/wx651564
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
bug.py
bug.py
View file @
1713aaed
...
...
@@ -2,11 +2,18 @@
import
turtle
pen
=
turtle
.
Pen
()
pen
.
pensize
(
10
)
x
=
turtle
.
Screen
()
size
=
x
.
textinput
(
"提示"
,
"你想要多大的魔法阵呀?"
)
z
=
x
.
textinput
(
"提示"
,
"你想要什么颜色的纹路?"
)
pen
.
pencolor
(
z
)
size
=
x
.
textinput
(
"提示"
,
"你想要多大的魔法阵?"
)
v
=
int
(
size
)
n
=
x
.
textinput
(
"提示"
,
"你想要什么颜色?"
)
pen
.
fillcolor
(
n
)
pen
.
begin_fill
()
pen
.
circle
(
v
)
pen
.
circle
(
v
,
360
,
3
)
pen
.
circle
(
v
,
60
)
pen
.
circle
(
v
,
360
,
3
)
pen
.
end_fill
()
turtle
.
done
()
This diff is collapsed.
Click to expand it.
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