Код: Выделить всё
h = int(input())
s = input()
k = 0
k_1 = 0
for i in range(0, h-1):
if ord('A')
Подробнее здесь: [url]https://stackoverflow.com/questions/78995410/how-to-debug-indexerror-string-index-out-of-range[/url]Код: Выделить всё
h = int(input())
s = input()
k = 0
k_1 = 0
for i in range(0, h-1):
if ord('A')
Подробнее здесь: [url]https://stackoverflow.com/questions/78995410/how-to-debug-indexerror-string-index-out-of-range[/url]