Theory ofIntelligence
← PRACTICE/
Beginner
Python• OOP

Student Management

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.

Sample Test Verification
1 Test Case
Statement & Architecture VerificationThis drill validates class blueprints, object attributes, and method state transitions without requiring console printing.
solution.py
Initializing Monaco Python Environment...
Input (stdin)
(empty string)
Expected Output (stdout)
(no output expected)