This commit is contained in:
Victor Alexandrovich Tsyrenschikov
2025-11-11 13:33:21 +05:00
parent cadb079ff9
commit d92c0e86fc
5 changed files with 13 additions and 2 deletions

5
24.4.py Normal file
View File

@@ -0,0 +1,5 @@
import re
str1=open('24_4.txt').read()
result=re.findall(r'((?:\d[A-Z])+|(?:[A-Z]\d)+)',str1)
print(max(list(map(len,result))))