I'm learning python and here's one code I can't quite get:
text = 'zip is very zipped'
print text.find('zip', text.find('zip') + 1)
Now, I know this is a shortcut of accomplishing:
text = 'zip is very zipped'
occur_once = text.find('zip')
print text.find('zip', occur_once + 1)
I was wondering, how the does
print text.find('zip', text.find('zip') + 1)
works and in what order does Python evaluates these expressions? Is there a name for this kind of 'order' of execution?