标签:回文 class bsp color UNC span fun false print
#1. 判断一个列表是不是回文. def func(s): if len(s)<=1 : return True elif s[0] ==s[-1]: return func(s[1:-1]) else: return False print(func([11,22,33,33,22,111]))
标签:回文 class bsp color UNC span fun false print
原文地址:https://www.cnblogs.com/mengbin0546/p/10792560.html