def is_dui_chen(st):
st = str(st)
for i in range(len(st) // 2):
if st[i] == st[-1 - i]:
return True
else:
return False


print(is_dui_chen('3ab6ba3'))

相关文章:

  • 2021-12-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-19
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-11
  • 2022-03-09
  • 2022-12-23
  • 2022-12-23
  • 2021-12-10
  • 2021-11-23
  • 2022-12-23
相关资源
相似解决方案