Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson10-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
c9dc5124
authored
Aug 16, 2025
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
b2554e7f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
0 deletions
Untitled-1.py.py
Untitled-2.py.py
布鲁克斯发布会.py
Untitled-1.py.py
0 → 100644
View file @
c9dc5124
import
random
pen
=
turtel
.
Pen
()
liet
=
[
"red"
,
"yoller"
]
\ No newline at end of file
Untitled-2.py.py
0 → 100644
View file @
c9dc5124
username
=
"python"
userpassword
=
"123456"
name
=
input
(
"请输入用户名:"
)
password
=
input
(
"请输入密码:"
)
if
name
==
username
and
password
==
usepassword
:
print
(
"登录成功!"
)
布鲁克斯发布会.py
0 → 100644
View file @
c9dc5124
def
show
(
self
):
def
show
(
self
):
self
.
canvas
=
tkinter
.
Canvas
(
self
.
roof
.
widthf
=
300
,
height
=
340
,
bg
=
"lightblue"
)
self
.
canvas
.
create_image
(
0
,
0
,
image
=
self
.
by_img
,
anchor
=
NW
)
self
.
canvas
.
placs
(
X
=
0
,
Y
=
O
)
self
.
ent
=
tkinter
.
ent
,(
self
.
roof
,
show
=
None
,
font
=
(
'宋体'
=
13
),
bg
=
"snow"
,
width
=
25
self
.
ent
.
placs
(
x
=
10
,
y
=
310
)
self
.
but
=
tkinter
.
Button
(
self
.
foot
,
text
=
"添加"
font
=
(
"宋体"
,
12
)
,
bg
=
"lightdlue"
,
width
=
5
,
command
=
self
.
get_info
\ 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