摘要: #! /usr/bin/env pythoncount = 0for i in range(1000,3000): set = str (i) if (set[::-1]) == (set[0::]): count += 1 print(i,"count=",count)#第二种方法# def fn 阅读全文
posted @ 2017-03-13 15:37 Leon_online 阅读(325) 评论(0) 推荐(0) 编辑