Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson2-3-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
f8e2b990
authored
Feb 26, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
9a4dd1ed
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
430 additions
and
0 deletions
jg.py
opi.py
task.py
jg.py
0 → 100644
View file @
f8e2b990
import
random
a
=
(
"石头"
,
"剪刀"
,
"布"
,)
computer
=
random
.
choice
(
a
)
print
(
computer
)
\ No newline at end of file
opi.py
0 → 100644
View file @
f8e2b990
import
turtle
pen
=
turtle
.
Pen
()
for
i
in
range
(
5
):
pen
.
forward
(
200
)
pen
.
right
(
144
)
turtle
.
done
()
\ No newline at end of file
task.py
0 → 100644
View file @
f8e2b990
data
=
input
(
"请输入星期几?:"
)
if
data
==
'星期1'
:
print
(
"学习钢琴"
)
elif
data
==
'星期3'
:
print
(
"学习编程"
):
elif
data
==
'星期6'
:
print
(
"学习英语"
):
else
:
print
(
"学习国学"
)
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