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
c4c994e9
authored
Dec 05, 2020
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
4db7103f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
信.py
账号登录.py
信.py
View file @
c4c994e9
impor
t
random
impor
t
random
...
...
@@ -6,7 +6,7 @@ screen.bgcolor('blue')
pen
=
turtle
.
Pen
()
pen
.
penup
()
pen
.
goto
(
100
,
-
150
)
pen
.
write
(
"
鬼
\n
怕鬼
\n
不怕鬼
\n
我不怕鬼"
,
font
=
(
'Times'
,
30
,
"normal"
))
pen
.
write
(
"
Mum
\n
I
\n
love
\n
you"
,
font
=
(
'Times'
,
len
,
"normal"
))
pen
.
hideturtle
()
pen1
=
turtle
.
Pen
()
pen1
.
pencolor
(
'red'
)
...
...
账号登录.py
0 → 100644
View file @
c4c994e9
usenamename
=
'guohanzhe'
usenamename
=
'guohanzhe'
password
=
'666666'
while
True
:
name
=
input
(
'请输入你的账号'
)
word
=
input
(
'请输入你的密码'
)
if
name
==
usenamename
and
word
==
password
:
print
(
'登录成功'
)
break
\ 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