Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson3-1-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
59faa015
authored
Jun 05, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
c2f1308f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
67 additions
and
0 deletions
bala.py
hjjjjjjjj.py
tttttt.py
bala.py
0 → 100644
View file @
59faa015
import
turtle
screen
=
turtle
.
Screen
()
b
=
screen
.
textinput
(
"爱心大小"
,
"请输入半径:"
)
a
=
float
(
b
)
c
=
b
/
3
*
17
pen1
=
turtle
.
Pen
()
pen1
.
pencolor
(
"red"
)
pen1
.
fillcolor
(
"pink"
)
pen1
.
pensize
(
5
)
pen1
.
begin_fill
()
pen1
.
up
()
pen1
.
goto
(
0
,
-
250
)
pen1
.
down
()
pen1
.
left
(
45
)
pen1
.
forward
(
2
*
a
)
pen1
.
circle
(
a
,
180
)
pen1
.
right
(
90
)
pen1
.
circle
(
a
,
180
)
pen1
.
forward
(
a
*
2
)
pen1
.
end_fill
()
pen
=
turtle
.
Pen
()
pen
.
up
()
pen
.
goto
(
-
170
,
-
140
)
pen
.
down
()
pen
.
write
(
"你好呀!诺依!斤斤计较!
\n
猜猜我是谁?
\n
猜不到吧!!!!!!!
\n
我是文科生——悟空!!!
\n
是不是很好玩!!!
\n
祝你天天向上!!!
\n
悟空书!!!
\n
天书来也!"
,
font
=
(
"Times"
,
c
,
"normal"
))
screen
=
turtle
.
Screen
()
screen
.
bgcolor
(
"light blue"
)
pen
.
hideturtle
()
pen1
.
hideturtle
()
turtle
.
done
()
\ No newline at end of file
hjjjjjjjj.py
0 → 100644
View file @
59faa015
import
turtle
screen
=
turtle
.
Screen
()
screen
.
textinput
(
"姓名框"
,
"你的名字:"
)
turtle
.
done
()
\ No newline at end of file
tttttt.py
0 → 100644
View file @
59faa015
import
turtle
screen
=
turtle
.
Screen
()
screen
.
textinput
(
""
,
"你的名字:"
)
a
=
170
pen1
=
turtle
.
Pen
()
pen1
.
pencolor
(
"red"
)
pen1
.
fillcolor
(
"pink"
)
pen1
.
pensize
(
5
)
pen1
.
begin_fill
()
pen1
.
up
()
pen1
.
goto
(
0
,
-
250
)
pen1
.
down
()
pen1
.
left
(
45
)
pen1
.
forward
(
2
*
a
)
pen1
.
circle
(
a
,
180
)
pen1
.
right
(
90
)
pen1
.
circle
(
a
,
180
)
pen1
.
forward
(
a
*
2
)
pen1
.
end_fill
()
pen
=
turtle
.
Pen
()
pen
.
up
()
pen
.
goto
(
-
170
,
-
110
)
pen
.
down
()
pen
.
write
(
"你好呀!诺依!斤斤计较!
\n
猜猜我是谁?
\n
猜不到吧!!!!!!!
\n
我是文科生——悟空!!!
\n
是不是很好玩!!!
\n
祝你天天向上!!!
\n
悟空书!!!
\n
天书来也!"
,
font
=
(
"Times"
,
30
,
"normal"
))
screen
=
turtle
.
Screen
()
screen
.
bgcolor
(
"light blue"
)
pen
.
hideturtle
()
pen1
.
hideturtle
()
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