解压猫咖研究所的博客/usr/bin/pythonimport sys,mathn = input("enter a number to find the factors : ")j,flag,b= 0l,False,0lfor b in xrange(1,n+1):a = n + (b*b)j = long(math.sqrt(a))if a == j*j:flag = Truebreakif flag...
小事儿Littlesth的博客在学习python的时候使用raw_input来获取键盘输入,结果出现了下面的报错:Traceback (most recent call last):File "******\***.py", line 19, in j = raw_input("aa")NameError: name 'raw_input' is not defined...