Task In code_create_class.py, create a Student class that mo…
Task In code_create_class.py, create a Student class that models student records. Define a class Student with: __init__(self, name, student_id, gpa): stores name, student_id, and gpa as attributes. The __str__ method which returns the string representation of a student: “: – GPA: ” Example Usage/Output Usage: alice = Student(“Alice”, 12345, 3.8) print(alice) Expected Output: Alice: 12345 – GPA: 3.8
Read Details