a = "a4b4t8a3a3w2q5a8o9i8"
for i in range(0, len(a)):
if a[i].isdigit() is False:
print("detected letter")
i +=5 #this does not increase the i by 5 each tiem I find a letter
This does not help the index 'i' jump forward by 5. Why?
a = "a4b4t8a3a3w2q5a8o9i8"
for i in range(0, len(a)):
if a[i].isdigit() is False:
print("detected letter")
i +=5 #this does not increase the i by 5 each tiem I find a letter
This does not help the index 'i' jump forward by 5. Why?