In many languages we can do something like:
for (int i = 0; i < value; i++)
{
    if (condition)
    {
        i += 10;
    }
}
How can I do the same in Python? The following (of course) does not work:
for i in xrange(value):
    if condition:
        i += 10
I could do something like this:
i = 0
while i < value:
  if condition:
    i += 10
  i += 1
but I'm wondering if there is a more elegant (pythonic?) way of doing this in Python.
 
     
     
     
     
     
     
     
     
     
     
    