5 lines
97 B
Python
5 lines
97 B
Python
import re
|
|
|
|
str1=open('24_1.txt').read()
|
|
result=re.findall(r'B+',str1)
|
|
print(max(map(len,result))) |