def round_controlled(cycled_iterable, rounds=<NUM_LIT:1>):
round_start = None<EOL>rounds_completed = <NUM_LIT:0><EOL>for item in cycled_iterable:<EOL><INDENT>if round_start is None:<EOL><INDENT>round_start = item<EOL><DEDENT>elif item == round_start:<EOL><INDENT>rounds_completed += <NUM_LIT:1><EOL><DEDENT>if rounds_completed == rounds:<EOL><INDENT>return<EOL><DEDENT>yield item<EOL><DEDENT>
Return after <rounds> passes through a cycled iterable.