Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson8-2
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
d8f6fcfb
authored
Nov 28, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
502609b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
1.py
2.py
1.py
0 → 100644
View file @
d8f6fcfb
forward
()
#前进多少步
left
()
right
()
glideto
()
#滑行到一个某个角色身上
slipto
()
#滑行到某个坐标上
goto
()
#移动某个坐标上
变量名可以是整型和字符串
数字
"1"
a
=
a
+
1
a
=
a
-
1
a
+=
1
\ No newline at end of file
2.py
0 → 100644
View file @
d8f6fcfb
for
i
in
range
(
8
):
#头0 尾8 距离 步长 前关闭 后开启 01234567
print
(
i
)
\ 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