return str(n) == str(n)[::-1]
厉害,简介
真的很简洁,之前都没想到[::-1]可以用来倒置文字
大神!手下我的膝盖!!
好机智!
Sign in to make a reply
Dream_Zurich
return str(n) == str(n)[::-1]