我想用字符串方式为什么这样不可以
L['1','2','3','4','5','6','7','8','9']
A['0','1','2','3','4','5','6','7','8','9']
print [a + b + c for a in A for b in L for c in L if a == c]
L['1','2','3','4','5','6','7','8','9']
A['0','1','2','3','4','5','6','7','8','9']
print [a + b + c for a in A for b in L for c in L if a == c]
2018-08-14
举报