#encoding:utf-8
s=[‘1‘,‘9‘]sta=‘56789‘# if all(t not in sta for t in s):# print staif all(t not in sta for t in s): print(sta)
python if all
原文:https://www.cnblogs.com/ruiy/p/9249353.html