Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson4_1
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
7a3066c9
authored
Jul 06, 2025
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
05cbd9d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
7 deletions
diy1.py
gg.py
diy1.py
View file @
7a3066c9
username
=
"python"
import
turtle
as
t
userpassword
=
"123456"
t1
=
t
.
Turtle
()
name
=
input
(
"请输入用户名:"
)
t2
=
t
.
Turtle
()
password
=
input
(
"请输入密码:"
)
t1
.
hideurtle
()
if
name
==
username
and
password
==
userpassword
:
t2
.
hideturtle
()
print
(
"登录成功!"
)
t1
.
color
(
'brown'
)
\ No newline at end of file
t1
.
pensize
(
10
)
t1
.
penup
()
t1
.
goto
(
0
,
-
160
)
t1
.
pendown
()
t1
.
circle
(
160
)
t1
.
penup
()
t1
.
goto
(
0
,
0
)
for
i
in
range
(
0
,
60
):
gg.py
0 → 100644
View file @
7a3066c9
import
random
k
=
"以加快改革和经济结构看"
m
=
"诺伊,周末一起去看动漫展吧!"
k_m
=
""
for
i
in
m
:
a1
=
i
a2
=
random
.
choice
(
k
)
a3
=
random
.
choice
(
k
)
text
=
a1
+
a2
+
a3
k_m
=
k_m
+
text
print
(
k_m
)
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