Skip to content

Add new feature - #1

Merged
Riya5407 merged 1 commit into
mainfrom
new-feature
Aug 4, 2026
Merged

Add new feature#1
Riya5407 merged 1 commit into
mainfrom
new-feature

Conversation

@Riya5407

@Riya5407 Riya5407 commented Aug 4, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI lite review requested due to automatic review settings August 4, 2026 16:30
@Riya5407
Riya5407 merged commit 606beee into main Aug 4, 2026
1 check passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new Python script intended to read expenses.json and print fields from a specific expense entry, alongside the existing CLI-based expense tracker.

Changes:

  • Introduces try.py to load expenses.json and print amount, category, and date for an expense record.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread try.py
Comment on lines +1 to +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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants