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
75bfc08c
authored
Feb 27, 2020
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
7abaecb1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
6 deletions
diy1.py
hello.py
section3.py
diy1.py
View file @
75bfc08c
name
=
"悟空 "
word
=
"非常感谢"
print
(
name
+
word
)
\ No newline at end of file
num
=
9
float_num
=
3.1415926
name
=
"悟空"
goods
=
[
"雪碧"
,
"可口可乐"
,
"咖啡"
]
print
(
type
(
num
))
print
(
tybe
(
float_num
))
print
(
tybe
(
name
))
print
(
tybe
(
goods
))
\ No newline at end of file
hello.py
View file @
75bfc08c
print
(
"hello word"
)
\ No newline at end of file
import
turtle
p
=
turtle
.
Pen
()
p
.
fillcolor
(
"red"
)
p
.
begin_fill
()
for
i
in
range
(
5
):
p
.
forward
(
200
)
p
.
left
(
144
)
p
.
end_fill
()
turtle
.
done
()
\ No newline at end of file
section3.py
0 → 100644
View file @
75bfc08c
import
turtle
p
=
turtle
.
Pen
()
p
.
shape
(
'turtle'
)
p
.
forward
(
200
)
p
.
left
(
45
)
p
.
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