Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson2-3-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
b8dd5003
authored
Dec 01, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
4bfca9b1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
6 deletions
dddd.py
对对对。py/ddd.py
dddd.py
0 → 100644
View file @
b8dd5003
#import turtle
#pen=turtle.Pen()
#pen.penup()
#pen.goto(100,-100)
#pen wire("我是中国人,/n")
len
=
100
pen
.
screen
()
pen1
=
turtle
.
Pen
()
pen
pen1
.
pencolor
(
"red"
)
pen1
.
pensize
(
5
)
pen1
.
left
(
45
)
pen1
.
forward
(
len
)
pen1
.
circle
(
len
*
2
,
180
)
pen1
.
right
(
90
)
pen1
.
circle
(
len
*
2
,
180
)
pen1
.
forward
(
100
)
turtle
.
done
()
screen
.
bgcolor
(
"red"
)
对对对。py/ddd.py
View file @
b8dd5003
#impo
rt turtle
#impo
rt turtle
...
@@ -2,19 +2,20 @@
...
@@ -2,19 +2,20 @@
#pen=turtle.Pen()
#pen=turtle.Pen()
#pen.penup()
#pen.penup()
#pen.goto(100,-100)
#pen.goto(100,-100)
#pen wire("
"
)
#pen wire("
我是中国人,/n",
)
len
=
100
pen
.
screen
()
pen
.
screen
()
pen1
=
turtle
.
Pen
()
pen1
=
turtle
.
Pen
()
pen
pen
pen1
.
pencolor
(
"red"
)
pen1
.
pencolor
(
"red"
)
pen1
.
pensize
(
5
)
pen1
.
pensize
(
5
)
pen1
.
left
(
45
)
pen1
.
left
(
45
)
pen1
.
forward
(
100
)
pen1
.
forward
(
len
)
pen1
.
circle
(
50
,
180
)
pen1
.
circle
(
len
*
2
,
180
)
pen1
.
right
(
90
)
pen1
.
right
(
90
)
pen1
.
circle
(
50
,
180
)
pen1
.
circle
(
len
*
2
,
180
)
pen1
.
forward
(
100
)
pen1
.
forward
(
100
)
turtle
.
done
()
turtle
.
done
()
...
@@ -24,3 +25,4 @@ screen.bgcolor("red")
...
@@ -24,3 +25,4 @@ screen.bgcolor("red")
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