Commit 9dee97cb by BellCodeEditor

save project

parent d29e7c7c
Showing with 28 additions and 0 deletions
a=0
while True:
a+=1
for i in range(15):
if i*i==100+a:
for k in range(20):
if k*k==268+a:
print(a)
\ No newline at end of file
++ "b/qqq\343\200\202py"
++ "b/\345\216\273\345\216\273\345\216\273"
while True:
while True:
a=input("请输入一个数字:")
b=input("请输入一个数字:")
c=input("请输入一个数字:")
d=input("请输入一个数字:")
if str(0) in a or str(0) in b or str(0) in b or str(0) in b:
print(18)
elif a==b or a==c or a==d or b==c or b==d or c==d:
print("请重新输入,不能输入同样的数")
elif int(a)==int(b) or int(a)==int(c) or int(a)==int(d) or int(b)==int(c) or int(b)==int(d) or int(c)==int(d):
print("请重新输入,不能输入除了数字外的文字")
elif int(a)>=10 or int(b)>=10 or int(c)>=10 or int(d)>=10:
print("请重新输入,不能输入大于或等于10的数")
else:
print(24)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment