Discuss / Python / 交作业

交作业

Topic source

tytttta

#1 Created at ... [Delete] [Delete and Lock User]

def is_pali(n): n=str(n) for x in range(len(n)//2): if n[x]!=n[len(n)-1-x]: return None return int(n)


  • 1

Reply