Iterador de cadena 2 caracteres a la vez en 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