Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson3-5-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
97507f35
authored
Jul 26, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
88f2abaf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
bug.py
bug.py
View file @
97507f35
...
@@ -11,13 +11,13 @@ def btn():
...
@@ -11,13 +11,13 @@ def btn():
if
usersname
==
"ak47"
and
password
==
'dnfh'
:
if
usersname
==
"ak47"
and
password
==
'dnfh'
:
var
.
set
(
"登录成功!"
)
var
.
set
(
"登录成功!"
)
elif
usersname
!=
'ak47'
:
elif
usersname
!=
'ak47'
:
var
.
set
(
"用户名错误"
)
var
.
set
(
"用户名错误
,你还剩下"
+
str
(
5
-
clock
)
+
"次机会!
"
)
clock
+=
1
clock
+=
1
elif
password
!=
'dnfh'
:
elif
password
!=
'dnfh'
:
var
.
set
(
"密码错误!"
)
var
.
set
(
"密码错误!
,你还剩下"
+
str
(
5
-
clock
)
+
"次机会!
"
)
clock
+=
1
clock
+=
1
else
:
else
:
var
.
set
(
"用户名和密码错误!"
)
var
.
set
(
"用户名和密码错误!
,你还剩下"
+
str
(
5
-
clock
)
+
"次机会!
"
)
clock
+=
1
clock
+=
1
else
:
else
:
var
.
set
(
"你已无法登录!"
)
var
.
set
(
"你已无法登录!"
)
...
...
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