def PowersOf(logbase, count, lower=<NUM_LIT:0>, include_zero=True):
if not include_zero:<EOL><INDENT>return [logbase ** i for i in range(lower, count+lower)]<EOL><DEDENT>else:<EOL><INDENT>return [<NUM_LIT:0>] + [logbase ** i for i in range(lower, count+lower)]<EOL><DEDENT>
Returns a list of count powers of logbase (from logbase**lower).