请利用filter()过滤出1到100中平方根是整数的数
import math nums=list(filter(lambda x:math.sqrt(x)%1==0,range(1,101))) print(nums)import math nums
请利用filter()过滤出1到100中平方根是整数的数
import math nums=list(filter(lambda x:math.sqrt(x)%1==0,range(1,101))) print(nums)import math nums