Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson2-1-2_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
a71cd231
authored
Jul 27, 2024
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
78aab0d2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
45 additions
and
3 deletions
dame
dame.py
star.py
大么。ty
dame
0 → 100644
View file @
a71cd231
dame.py
0 → 100644
View file @
a71cd231
import
turtle
axc
=
turtle
.
Screen
()
axc
.
bgcolor
(
"pink"
)
#文吻替
len
=
axc
.
textinput
(
"提示"
,
"尼像药躲打得哎新"
)
sbbb
=
int
(
len
)
pen
=
turtle
.
Pen
()
pen
.
penup
()
pen
.
goto
(
0
,
-
150
)
pen
.
write
(
" man,
\n
what can I say?
\n
mabe out."
,
font
=
(
"Times"
,
50
,
"normal"
))
pen
.
hideturtle
()
peen
=
turtle
.
Pen
()
peen
.
pencolor
(
"red"
)
peen
.
pensize
(
18
)
peen
.
left
(
45
)
peen
.
forward
(
2
*
sbbb
)
peen
.
circle
(
sbbb
,
180
)
peen
.
right
(
90
)
peen
.
circle
(
sbbb
,
180
)
peen
.
forward
(
2
*
sbbb
)
turtle
.
done
()
\ No newline at end of file
star.py
View file @
a71cd231
# 上节课你是这样绘制的五角星👇:
# 第一关
# 第一关
dame
=
input
(
"你出拳(屎头/剑道/不):"
)
dame
=
input
(
"你出拳(屎头/剑道/不):"
)
print
(
"碗佳处权:"
+
dame
)
print
(
"碗佳处权:"
+
dame
)
...
@@ -6,4 +5,14 @@ print("碗佳处权:"+dame)
...
@@ -6,4 +5,14 @@ print("碗佳处权:"+dame)
import
random
import
random
sb
=
[
"屎头"
,
"剑道"
,
"不"
]
sb
=
[
"屎头"
,
"剑道"
,
"不"
]
ty
=
random
.
choice
(
sb
)
ty
=
random
.
choice
(
sb
)
print
(
"岁机处权:"
+
ty
)
print
(
"岁机处权:"
+
ty
)
\ No newline at end of file
#3
if
dame
in
sb
:
if
dame
==
ty
:
print
(
"评剧,瞎词载赖"
)
elif
(
dame
==
"屎头"
and
sb
==
"不"
)
or
(
dame
==
"剑道"
and
sb
==
"屎头"
)
or
(
dame
==
"不"
or
sb
==
"剑道"
):
print
(
"尼哥采及,练仁济斗应布料"
)
else
:
print
(
"很耗,拟国官"
)
else
:
print
(
"尼哥煞笔,美砍间药书如:屎头/剑道/不盲"
)
\ No newline at end of file
大么。ty
0 → 100644
View file @
a71cd231
#1
#1
import turtle
\ 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