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
a8caf7e6
authored
Jul 10, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
de841cab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
3.py
diy1.py
3.py
View file @
a8caf7e6
print
(
"今是个非常好的上分
\
的超级好的日子"
)
username
=
"xie"
userpassword
=
"123456"
while
True
:
name
=
input
()
password
=
input
()
if
name
==
username
and
password
==
userpassword
:
print
(
"登录成功"
)
break
print
(
"账号或密码错误,请重新输入"
)
print
(
"欢迎来到蛋仔派对"
)
diy1.py
View file @
a8caf7e6
list1
=
[
1
,
2
,
3
,
4
,
5
]
print
(
list1
[:
-
1
])
\ No newline at end of file
print
(
3
>
4
or
4
>
3
and
not
1
==
1
)
\ 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