[Tutor] Follow-up on my removing elements from lists question.
Alex Kleider
akleider at sonic.net
Sat Jun 15 12:42:20 EDT 2019
On 2019-06-15 02:35, mhysnm1964 at gmail.com wrote:
> This is a follow-up on my previous question for removing elements.
> Below is
> the code I am currently using. I am removing the elements at the end of
> the
> outer loop. The data structure goes along this:
>
>
>
> [
>
> ['123123',[2019-2-18', 'transaction text', 'amount'],
>
> v ['123123',[2019-2-18', 'transaction text', 'amount'],
>
> ['123123',[2019-2-18', 'transaction text', 'amount']
>
> ]
>
I suggest you match up your single quote and your square bracket pairs.
It looks to me that you have one extra single quote and one extra
opening square bracket in each line (or perhaps you're missing their
closing partners.)
More information about the Tutor
mailing list