n=str(n) for i in range(int(len(n)/2)+1): if n[i]!=n[len(n)-1-i]: return False break return True
错了一点,可以去掉 break
Sign in to make a reply
可爱的电音吉他