python insert not inserting at the correct position

前端 未结 0 1306
感动是毒
感动是毒 2020-12-14 09:15

I am trying to use python\'s insert to find the palindrome of a number. This is my function:

def isPalindrome(x):
        n = []
        l = len(str(x)) - 1
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题