Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson7_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
462bfca1
authored
Sep 12, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
81c3a9e4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
4 deletions
0100.py
22.py
0100.py
0 → 100644
View file @
462bfca1
import
turtle
screen
=
turtle
.
Screen
()
screen
.
bgcolor
(
"light blue"
)
pen
=
turtle
.
Pen
()
pen
.
penup
()
pen
.
goto
(
-
100
,
0
)
a
=
screen
.
textinput
(
"输入"
,
"写下你的新年寄语"
)
pen
.
write
(
a
,
font
=
(
"Times"
,
20
,
"normal"
))
pen
.
hideturtle
()
turtle
.
done
()
\ No newline at end of file
22.py
View file @
462bfca1
text
=
"周末一起去欢乐谷玩吧!"
import
turtle
list
(
text
)
pen
=
turtle
.
Pen
()
print
(
te
)
pen
.
pencolor
(
"blue"
)
\ No newline at end of file
pen
.
pensize
(
5
)
pen
.
circle
(
50
)
pen
.
penup
()
pen
.
forward
(
100
)
pen
.
pendown
()
pen
.
pencolor
(
"black"
)
pen
.
pensize
(
5
)
pen
.
circle
(
50
)
pen
.
penup
()
pen
.
forward
(
100
)
pen
.
pendown
()
pen
.
pencolor
(
"red"
)
pen
.
pensize
(
5
)
pen
.
circle
(
50
)
pen
.
penup
()
pen
.
left
(
90
)
pen
.
pendown
()
pen
.
pencolor
(
"green"
)
pen
.
pensize
(
5
)
pen
.
circle
(
50
)
pen
.
penup
()
pen
.
left
(
90
)
pen
.
forward
(
100
)
pen
.
right
(
90
)
pen
.
pendown
()
pen
.
pencolor
(
"yellow"
)
pen
.
pensize
(
5
)
pen
.
circle
(
50
)
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