On 2019-06-15 02:35, mhysnm1...@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.)
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to