Itérer la chaîne 2 caractères à la fois dans 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