Hi All,
I have a list:
And I'm trying to get the co-ordinates out of it, but I have no idea how, any advice would be greatly appreciated.
My list is called successors and I've tried:
but of course that just gets the whole of the first element. The list is defined as (co-ordinate, action, time)
Thanks
I have a list:
[((5,4), 'South' , 1), ((4,5), 'West', 1)]
And I'm trying to get the co-ordinates out of it, but I have no idea how, any advice would be greatly appreciated.
My list is called successors and I've tried:
successors[0]
but of course that just gets the whole of the first element. The list is defined as (co-ordinate, action, time)
Thanks