Returns a copy of list lin re-sized to length i.
If i is less than the original length, then lout will be truncated.
If i is greater than the original length, then lout will be padded with the value a, or 0 if a is not given.
- Returns:
lout - A copy of list lin of size i
- Arguments:
lin - the original list to re-size
i - the new length to make lin
a - the optional value to give to any additional entries to give lout.