From 9e7a5f3306e0889a1bd190cd38a338fee0460148 Mon Sep 17 00:00:00 2001 From: Riya5407 Date: Tue, 4 Aug 2026 21:58:22 +0530 Subject: [PATCH] Add new feature --- try.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 try.py diff --git a/try.py b/try.py new file mode 100644 index 0000000..d667d9a --- /dev/null +++ b/try.py @@ -0,0 +1,7 @@ +import json + +with open('expenses.json', 'r') as f: + data = json.load(f) +print(data[1]["amount"]) +print(data[1]["category"]) +print(data[1]["date"]) \ No newline at end of file