Is there an elegant and pythonic way to trap the first and last item in a for loop which is iterating over a generator?Is there an elegant and pythonic way to trap th
Is there an elegant and pythonic way to trap the first and last item in a for loop which is iterating over a generator?Is there an elegant and pythonic way to trap th