答:可以使用以下Python代码:total = 0 for i in range(10, 99): if (i//10) % 10 != i % 10: total += i print(total)