Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson2-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
404e6c04
authored
Feb 04, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
c256c561
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
1.py
2.py
1.py
0 → 100644
View file @
404e6c04
num
=
9
float_num
=
3.1415926
name
=
"悟空"
goods
=
[
"雪碧"
,
"可口可乐"
,
"咖啡"
]
print
(
type
(
num
))
print
(
type
(
float_num
))
print
(
type
(
name
))
print
(
type
(
goods
))
\ No newline at end of file
2.py
0 → 100644
View file @
404e6c04
import
turtle
"""
1、导入turtle模块,
2、创建画笔,
3、将画笔设置成海龟的形状,
4、控制画笔向前移动200,
5、并让画布保存在界面
"""
pen
=
turtle
.
Pen
()
pen
.
shape
(
"turtle"
)
pen
.
forward
(
200
)
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