Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson2-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
f9ab64f8
authored
Sep 19, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
81af9a1e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
60 additions
and
0 deletions
dddd.py
,,,。py
dddd.py
0 → 100644
View file @
f9ab64f8
# a=6
# print(type(a))
# print(type(bool(a)))
# a=10
# b=20
# print(a or b)
# b=float(input("请输入"))
# if b>10:
# print("Yes")
# a=float(input("请输入"))
# if a%3==0:
# print("Yes")
# else:
# print("No")
# c=float(input("请输入"))
# if c%3==0:
# print("是3的倍数")
# if c%5==0:
# print("是5的倍数")
# else:
#print("NULL")
# N=float(input("输入"))
# if N%2==0:
# print(0)
# else:
# print(1)
# N=float(input("输入"))
# if N%7==0 and N%5!=0:
# print("Yes")
# else:
# print("No")
# N=float(input("输入"))
# if N>=90:
# print("A")
# if N>=80 and N<90:
# print("B")
# if N>=70 and N<80:
# print("C")
# if N<70:
# print("D")
# sum=0
# for i in range(1,101):
# sum=i+sum
# print(sum)
while
True
:
a
=
input
(
"账号"
)
b
=
input
(
"密码"
)
if
a
==
"python"
and
b
==
"0345"
:
print
(
"登录成功"
)
break
else
:
print
(
"账号或者密码错误"
)
,,,。py
0 → 100644
View file @
f9ab64f8
++ "b/\357\274\214\357\274\214\357\274\214\343\200\202py"
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