杰轩 杨Фотография
>>> def ist(x):
... return str(x)[::-1]==str(x)
...
>>> ist(121)
True
>>> ist(-121)
False
>>> ist(111)
True
>>>
用python的话感觉是为了让你熟悉python里面的一些常见操作的,这个就是切片
Вся лента · оригинал в Telegram
A snapshot of an open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.
Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog