print(100*x+10*y+z for x in range(1,10) for y in range(0,10) for z in range(1,10) if x==z))
print(x for x in range(100,1000) if str(x)[0]==str(x)[-1]))
人笨嫌刀钝
相关分类