<div dir="ltr">i have to implement the below line in one of my code:<div><br></div><div>for  p in sorted(segments.iterkeys()) and for k in sorted(class_count.iterkeys()) and for j in sorted(pixel_count.iterkeys()):<br></div>
<div><br></div><div style>Its giving me a syntax error which is obvious, but how can I make all three for loop run simultaneously or any other way to do this simultaneous work ??? </div></div>