一、求算术平方根
a=
x=int(raw_input(‘enter a number:’))
if x >= :
while a*a < x:
a = a +
if a*a != x:
print x,'is not a perfect square'
else:
print a
else:
print x,'is a negative number'
二、求约数
方法一:
pisor = [ ]
x=int(raw_input(‘enter a number:’))
i=
while i