Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson2-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
aa9d3e20
authored
5 years ago
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new file
parents
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
index01.py
index01.py
0 → 100644
View file @
aa9d3e20
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
)
This diff is collapsed.
Click to expand it.
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