# 24(31) РТ

 avatar
user_8840555
python
3 years ago
175 B
3
Indexable
f = open(r"C:\Users\SnowDrit\Downloads\24\24.31.txt")
s = f.readline()
s = s.replace('AB',"AC")
for i in range(100):
    if 'AC' * i in s:
        print(i)
# 24(31) РТ
Editor is loading...