python3.6.5shell编写程序,输出所有由4个数字组成的素数;
l = [] for i in range(1000,9999): for j in range(2, i): if i % j == 0: break else: l.append(i) print(l)