杨辉三角

[[j for j in range(i)]+[abs(j) for j in range(-i,0)] for i in range(10)]  

乘法表

[{str(x[0])+'x'+str(x[-1]*-1):x[0]*x[-1]*-1 for x in zip(range(i),range(-i,1))} for i in range(10)][1:]  

打开web本地服务

((os.access(h, os.F_OK) and h[-5:]=='.html')) and print(web.open('file://'+os.path.abspath('bar3d_base.html'))) or  'can\'t find file,please check you code '
Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐