Wait, I have another comment...
On Wed, Oct 28, 2015 at 02:48:05PM +, Flynn, Stephen (L & P - IT) wrote:
> I'm iterating through a list and I'd like to know when I'm at
> the end of the said list, so I can do something different. For example
[...]
> For context, I'm working my way throu
On Wed, Oct 28, 2015 at 02:48:05PM +, Flynn, Stephen (L & P - IT) wrote:
> I'm iterating through a list and I'd like to know when I'm at
> the end of the said list, so I can do something different. For example
>
> list_of_things = ['some', 'special', 'things']
> for each_entry in list_o
On 28Oct2015 14:48, Flynn, Stephen (L & P - IT)
wrote:
Python 3.
I'm iterating through a list and I'd like to know when I'm at
the end of the said list, so I can do something different. For example
list_of_things = ['some', 'special', 'things']
for each_entry in list_of_things
Flynn, Stephen (L & P - IT) wrote:
> Afternoon,
>
> Python 3.
>
> I'm iterating through a list and I'd like to know when I'm at
> the end of the said list, so I can do something different. For example
>
> list_of_things = ['some', 'special', 'things']
> for each_entry in list_of_things:
> print
Afternoon,
Python 3.
I'm iterating through a list and I'd like to know when I'm at
the end of the said list, so I can do something different. For example
list_of_things = ['some', 'special', 'things']
for each_entry in list_of_things:
print(each_entry)
if each_ent