Skip to content

Instantly share code, notes, and snippets.

View mkf-simpson's full-sized avatar

Konstantin Makarychev mkf-simpson

View GitHub Profile
# Генерирует следующую строку последовательности
def sequence(str)
i = 0
count = 1
start = 0
str2=''
while i < str.length
if str[i+1] == str[start]
i = i + 1
count = count + 1