#Right now
list(map(lambda x: f1.write(x + ','),feature))
# Would like it to be:
list(map(lambda x: if(x = map.end) f1.write(x) else: f1.write(x),feature))
Like the sample code above is there any thing I can do to exclude or make an exception such that the last element of the map does something else