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
b7c55c8f
authored
Aug 17, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
38f5ab6c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
diy1.py
diy2.py
diy1.py
View file @
b7c55c8f
...
@@ -5,7 +5,7 @@ screen.bgcolor("pink")
...
@@ -5,7 +5,7 @@ screen.bgcolor("pink")
pen
=
turtle
.
Pen
()
pen
=
turtle
.
Pen
()
pen
.
penup
()
pen
.
penup
()
pen
.
goto
(
30
,
-
200
)
pen
.
goto
(
30
,
-
200
)
pen
.
write
(
"赋得古原草送别
\n
[唐]白居易
\n
离离原上草,
\n
一岁一枯荣。
\n
野火烧不尽,
\n
出风吹又生。
\n
远芳侵古道,
\n
晴翠接荒城。
\n
又送王孙去,
\n
萋萋满别情。"
,
font
=
(
"Times"
,
15
,
"normal"
))
pen
.
write
(
"赋得古原草送别
\n
[唐]白居易
\n
离离原上草,
\n
一岁一枯荣。
\n
野火烧不尽,
\n
出风吹又生。
\n
远芳侵古道,
\n
晴翠接荒城。
\n
又送王孙去,
\n
萋萋满别情。"
,
font
=
(
"Times"
,
15
,
"normal"
))
pen1
=
turtle
.
Pen
()
pen1
=
turtle
.
Pen
()
pen1
.
pensize
(
5
)
pen1
.
pensize
(
5
)
pen1
.
pencolor
(
"red"
)
pen1
.
pencolor
(
"red"
)
...
...
diy2.py
0 → 100644
View file @
b7c55c8f
username
=
'张武子琛'
userpassword
=
'18951641147'
name
=
input
(
"用户名:"
)
password
=
input
(
"密码:"
)
if
username
==
name
and
userpassword
==
password
:
print
(
"登录成功!"
)
\ 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