Thanks for the immediate response.
However, I found zonal statistics has provided ArcObject code instead of python one for example.
Please kindly clarify if "the loop" means python or ArcObject.
If it is the latter, is it possible to make ArcObject loops using python?
(I am more unfamiliar with ArcObject than with python)