Problem Statement

Write a Python script that reads `students.csv` (name, age, grade) and converts it to a JSON file called `students.json`. Each student should be a JSON object in a list.

Sample Data

students.csv
name,age,grade
Alice,21,A
Bob,22,B

Expected Output

students.json:
[
  {"name": "Alice", "age": "21", "grade": "A"},
  {"name": "Bob", "age": "22", "grade": "B"}
]

Your Submission

ℹ️ The AI reads and reviews your code — it does not run it. Runtime errors like missing files or wrong paths won't affect your score. Focus on writing clean, correct logic.
Submit your work — choose one or more options
OR
OR