将元组(37,11,88,76,10,22,6,13,8,35,42,56,68,5,33,66,94,91) 的元素素数生成新的
元组,并输出新元组。
a = (37,11,88,76,10,22,6,13,8,35,42,56,68,5,33,66,94,91)
b = []
for i in a:
for j in range(2,i-1):
if i%j==0:
break
else:
b.append(i)
c = tuple(b)
print(c)