<s> """<STR_LIT>""" <EOL> def aritprog_gen ( begin , step , end = None ) : <EOL> result = type ( begin + step ) ( begin ) <EOL> forever = end is None <EOL> index = <NUM_LIT:0> <EOL> while forever or result < end : <EOL> yield result <EOL> index += <NUM_LIT:1> <EOL> result = begin + step * index </s>
