摘要:
import re st = 'asxxixxsaefxxlovexxsdwdxxyouxxde' #search()和 findall()的区别 a = re.search('xx(.*?)xxsaefxx(.*?)xxsdwdxx(.*?)xx',st) #print(a) #运行结果 # #group()方法 b = re.search('xx(.*?)xxsaefxx(.*?)x... 阅读全文
摘要:
贪心算法,非贪心算法 阅读全文