Untitled

 avatar
unknown
python
4 years ago
874 B
24
Indexable
data = [[{'amount': 100.0, 'id': 40363908488, 'date': '23-08-21 - 00:34:59', 'type': 'withdrawal'}, {'amount': 100.0, 'id': 40372743199, 'date': '23-08-21 - 03:02:35', 'type': 'withdrawal'}, {'id': 40378210996, 'amount': 30.0, 'date': '23-08-21 - 06:10:19', 'type': 'deposit'}, {'id': 40378346583, 'amount': 20.0, 'date': '23-08-21 - 06:15:59', 'type': 'deposit'}], [{'amount': 100.0, 'id': 40372743199, 'date': '23-08-21 - 03:02:35', 'type': 'deposit'}, {'id': 40378210996, 'amount': 30.0, 'date': '23-08-21 - 06:10:19', 'type': 'deposit'}, {'id': 40378346583, 'amount': 20.0, 'date': '23-08-21 - 06:15:59', 'type': 'deposit'}, {'id': 40448661958, 'amount': 100.0, 'date': '24-08-21 - 01:31:07', 'type': 'deposit'}]]



#Bu iki liste icerisinde tekrar eden idler mevcut. Tekrar eden idlerin sadece 1 kere gecmesini istiyorum. Bu liste bazen 2den fazla elemanli da olabilir.
Editor is loading...