ask
L = []
for A in '123456789':
for B in '0123456789':
for C in '0123456789':
if (A + B + C) == ( C + B + A ):
L.append(A + B + C)
print L
这个怎么不对了?
L = []
for A in '123456789':
for B in '0123456789':
for C in '0123456789':
if (A + B + C) == ( C + B + A ):
L.append(A + B + C)
print L
这个怎么不对了?
2014-11-12
举报