I want to store all the table values in list of lists. Could any one suggest
Acc_no acc_name acc_open_date balance
123 Michel 10-05-2018 500000
456 Thamas 15-07-2016 40000
789 Gills 12-12-2019 15000
[
[123 , 'Michel ', '10-05-2018', 500000],
[456 , 'Thamas', '15-07-2016', 40000],
[789, 'Gills', '12-12-2019', 15000]
]
Once the values stored in list of lists, I need to update balance using acc_no in list.
Ex: After one transaction the balance of acc_no 123 reduced to 450000 from 500000
[
[123 , 'Michel ', '10-05-2018', 450000],
[456 , 'Thamas', '15-07-2016', 40000],
[789, 'Gills', '12-12-2019', 15000]
]