Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tester
/
lesson1-act1
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
9db1d281
authored
Nov 27, 2019
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new file
parents
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
index01.py
index01.py
0 → 100644
View file @
9db1d281
start
=
0
hide
()
goto
(
-
125
,
-
50
)
setheading
(
90
)
while
True
:
if
start
==
1
:
show
()
forward
(
4
)
# 砖块向前移动
if
getx
()
>
125
or
getx
()
<-
125
:
# 如果砖块的移动范围超出-125至125
# 用for循环使砖块按半圆的轨迹移动
for
i
in
range
(
60
):
left
(
3
)
forward
(
2
)
\ 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