Итерация строки 2 символов за раз в Python
mystring = "Hello Oraask"
# Getting length of string
lengthOfmystring = len(mystring)
# Iterating through the string using while loop
for i in mystring[0:lengthOfmystring:2] :
# Print all characters iterated
print("Element of string:" , i)
Cautious Cow