test_string = 'TTteSTStrForAnon'
def mega_splitter(input_string):
upper = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
s = input_string
for i in upper:
s = s.replace(i, '🐍' + i + '🐍')
return s.strip('🐍').replace('🐍🐍', '🐍').split('🐍')
print(mega_splitter(test_string))
dGVzdF9zdHJpbmcgPSAnVFR0ZVNUU3RyRm9yQW5vbicKCmRlZiBtZWdhX3NwbGl0dGVyKGlucHV0X3N0cmluZyk6Cgl1cHBlciA9ICdBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWicKCXMgPSBpbnB1dF9zdHJpbmcKCWZvciBpIGluIHVwcGVyOgoJCXMgPSBzLnJlcGxhY2UoaSwgJ/CfkI0nICsgaSArICfwn5CNJykKCXJldHVybiBzLnN0cmlwKCfwn5CNJykucmVwbGFjZSgn8J+QjfCfkI0nLCAn8J+QjScpLnNwbGl0KCfwn5CNJykKCgpwcmludChtZWdhX3NwbGl0dGVyKHRlc3Rfc3RyaW5nKSk=
['T', 'T', 'te', 'S', 'T', 'S', 'tr', 'F', 'or', 'A', 'non']