<s> def corrotina ( ) : <EOL> print ( '<STR_LIT>' ) <EOL> x = yield <NUM_LIT:1> <EOL> print ( '<STR_LIT>' % x ) <EOL> y = yield <NUM_LIT:2> <EOL> print ( '<STR_LIT>' % y ) <EOL> print ( '<STR_LIT>' ) <EOL> def principal ( ) : <EOL> print ( '<STR_LIT>' ) <EOL> co = corrotina ( ) <EOL> print ( '<STR_LIT>' ) <EOL> res = next ( co ) <EOL> print ( '<STR_LIT>' % res ) <EOL> print ( '<STR_LIT>' ) <EOL> res2 = co . send ( <NUM_LIT> ) <EOL> print ( '<STR_LIT>' % res2 ) <EOL> try : <EOL> print ( '<STR_LIT>' ) <EOL> res3 = co . send ( <NUM_LIT> ) <EOL> print ( '<STR_LIT>' % res3 ) <EOL> except StopIteration : <EOL> print ( '<STR_LIT>' ) <EOL> principal ( ) </s>
