Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson3-4-1_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
6a40427d
authored
Dec 21, 2020
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
cbc72da0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
diy1.py
iirhgui.py
diy1.py
View file @
6a40427d
import
turtle
pen
=
turtle
.
Pen
()
pen
.
color
(
"light
pink
"
)
pen
.
color
(
"light
blue
"
)
pen
.
hideturtle
()
pen
.
goto
(
-
3
00
,
0
)
pen
.
goto
(
-
1
00
,
0
)
pen
.
up
()
pen
.
write
(
"
Hi,Welcome to the die party"
,
font
=
(
"Times"
,
4
0
,
"normal"
))
pen
.
write
(
"
lbwnb,lbwnb"
,
font
=
(
"Times"
,
2
0
,
"normal"
))
pen1
=
turtle
.
Pen
()
pen1
.
color
(
"
black
"
)
pen1
.
color
(
"
red
"
)
screen
=
turtle
.
Screen
()
screen
.
bgcolor
(
"light blue"
)
a
=
screen
.
textinput
(
"姓名框"
,
"填入你的姓名:"
)
a
=
screen
.
textinput
(
"姓名框"
,
"can we kiss forever:"
)
a
=
int
(
a
)
pen1
.
left
(
45
)
pen1
.
forward
(
2
*
a
)
...
...
iirhgui.py
View file @
6a40427d
import
turtle
screen
=
turtle
.
Screen
()
screen
.
textinput
(
"姓名框"
,
"
填入你的姓名
"
)
turtle
.
done
()
screen
.
textinput
(
"姓名框"
,
"
can we kiss forever:
"
)
turtle
.
done
()
\ 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