导入数学模块
eg:
import math
for i in range(10000):
x= math.sqrt(i+100) #完全平方
y = math.sqrt(i+268)
if i+100 == x*x and i+268 ==y*y:
print(i)
导入数学模块
eg:
import math
for i in range(10000):
x= math.sqrt(i+100) #完全平方
y = math.sqrt(i+268)
if i+100 == x*x and i+268 ==y*y:
print(i)