Project
This commit is contained in:
5
24.4.py
Normal file
5
24.4.py
Normal 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))))
|
||||||
Reference in New Issue
Block a user