Browse Source

删除 'sy5-2.py'

master
吴思辰 3 years ago
parent
commit
d080263f3d
1 changed files with 0 additions and 18 deletions
  1. +0
    -18
      sy5-2.py

+ 0
- 18
sy5-2.py View File

@ -1,18 +0,0 @@
def filterLst(L):
outL=[]
for x in L:
for i in range(x+1):#可改进
if i*i==x:
outL.append(x)
#break;
return outL #first
s=input()
data=s.split(',')#third
for i in range(len(data)):
data[i]=int(data[i])
result=filterLst(data)#for
if len(result)!=0:
print ("完全平方数有",result)
else:
print ("无符合要求的数!")

Loading…
Cancel
Save