Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson3-4-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
10e443ef
authored
Oct 06, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
6ea6b6db
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
22 deletions
IP利利利利利利 .py
timi.py
IP利利利利利利 .py
0 → 100644
View file @
10e443ef
import
turtle
import
turtle
pen
=
turtle
.
Pen
()
screen
=
turtle
.
Screen
()
len
=
screen
.
textinput
(
"提示"
,
"魔法阵多大?"
)
plen
=
int
(
len
)
screen
.
bgcolor
(
"red"
)
pen1
=
turtle
.
Pen
()
pen
.
penup
()
pen
.
goto
(
100
,
-
100
)
pen
.
write
(
"你好!
\n
你叫死不了的赵伟吧?"
,
font
=
(
"宋体"
,
30
,
"normal"
))
pen1
.
circle
(
plen
)
pen1
.
circle
(
plen
,
360
,
3
)
pen1
.
circle
(
plen
,
60
)
pen1
.
circle
(
plen
,
360
,
3
)
pen
.
hideturtle
()
turtle
.
done
()
\ No newline at end of file
timi.py
View file @
10e443ef
import
turtle
bczh
=
"python"
screen
=
turtle
.
Screen
()
bcmm
=
"123456788990098765421"
screen
.
bgcolor
(
"yellow"
)
while
Ture
:
len
=
screen
.
textinput
(
"大小"
,
"你要多大的黑心"
)
cczh
=
input
(
"输入账号"
)
lovesize
=
int
(
len
)
ccmm
=
input
(
"输入密码"
)
pen
=
turtle
.
Pen
()
if
cczh
==
bczh
and
ccmm
==
bczh
pen
.
penup
()
print
(
"登录成功"
)
pen
.
goto
(
100
,
-
100
)
break
pen
.
write
(
"小贝和诺依都是黑心商人"
,
font
=
(
"times"
,
15
,
"normal"
))
if
cczh
!=
bczh
pen
.
hideturtle
()
print
(
"账号错误"
)
pen1
=
turtle
.
Pen
()
if
ccmm
==
bczh
pen1
.
pencolor
(
"white"
)
print
(
"密码错误"
)
pen1
.
fillcolor
(
"blue"
)
print
(
"欢迎来到王者荣耀"
)
pen1
.
begin_fill
()
\ No newline at end of file
pen1
.
circle
(
lovesize
)
pen1
.
circle
(
lovesize
,
360
,
3
)
pen1
.
circle
(
lovesize
,
60
)
pen1
.
circle
(
lovesize
,
360
,
3
)
pen1
.
end_fill
()
pen1
.
hideturtle
()
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