@@ -1,7 +1,7 @@
import re
str1=open('24_5.txt').read().strip('\n')
result=re.split(r'(?<=PP)',str1)
result=re.split(r'(?<=PP)',str1) #Позитивная ретроспективная проверка (Positive Lookbehind)
# result=re.split(r'P(?=P)',str1)
print(max(list(map(len,result))))
The note is not visible to the blocked user.