λFPAI
Practice/Student Management

Student Management

Beginner

Design a Student class with name, roll_number, age, and grades (a list).

Include a method to calculate average grade and display student details. Instantiate multiple students.

OOP Focus: Constructor, instance variables, and basic encapsulation.

Note: This is statement-only in the current Practice version; stdout should be empty.

Loading editor...

Output

Run or submit to see output.