Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson3-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
7a904fe5
authored
Jun 05, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
2abc8e6a
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
40 additions
and
0 deletions
diy1.py
hgf.py
sdf.py
ss.py
sss.py
task.py
task1.py
diy1.py
deleted
100644 → 0
View file @
2abc8e6a
hgf.py
0 → 100644
View file @
7a904fe5
for
i
in
range
(
0
,
101
):
if
i
%
2
==
0
:
print
(
i
)
\ No newline at end of file
sdf.py
0 → 100644
View file @
7a904fe5
for
i
in
range
(
10
):
print
(
"悟空"
)
\ No newline at end of file
ss.py
0 → 100644
View file @
7a904fe5
import
turtle
pen
=
turtle
.
pen
pen
.
left
(
45
)
pen
.
forward
(
100
)
for
i
in
range
(
180
):
pen
.
right
(
1
)
pen
.
forward
(
1
)
pen
.
forward
(
100
)
for
i
in
range
(
180
):
pen
.
right
(
1
)
pen
.
forward
(
1
)
\ No newline at end of file
sss.py
0 → 100644
View file @
7a904fe5
a
=
int
(
input
(
"今天星期几呀?"
))
if
a
<=
7
:
if
a
==
3
:
print
(
"今天学编程"
)
if
a
==
6
:
print
(
"今天学英语"
)
if
a
==
1
:
print
(
"今天学钢琴"
)
elif
a
==
2
or
4
or
5
or
7
:
print
(
"今天学国画"
)
task.py
0 → 100644
View file @
7a904fe5
import
turtle
for
i
in
range
(
6
):
turtle
.
forward
(
100
)
turtle
.
left
(
60
)
\ No newline at end of file
task1.py
0 → 100644
View file @
7a904fe5
name
=
"陆宇翔"
sdf
=
"男"
age
=
"14"
gyuy
=
"喜欢玩"
print
(
name
,
sdf
,
age
,
gyuy
)
\ 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