How can I see if an index contains certain numbers?
numbers = [2349523234, 12345123, 12346671, 13246457, 134123431]
for number in numbers:
if (4 in number):
print(number + "True")
else:
print("False")
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…