def get_student_courses(self, student_id: int) -> list:
        l4 = []  # List to store course codes for the student
        l5 = []  # List to store course names
        r7 = pd.read_csv('enroll.csv')  # Read the enroll CSV
        r8 = pd.read_csv('courses.csv')  # Read the courses CSV

        # Loop through enrolled courses to find courses for the student
        for i, j in zip(r7['student_id'].values, r7['course_code'].values):
            if i == student_id:
                l4.append(j)  # Append the course code

        # Loop through course codes to find corresponding course names
        for x in l4:
            if x in r8['code'].values:
                y = r8[r8['code'] == x]  # Filter courses for the current code
                l5.append(y['name'].values)  # Extend name list with the found names

        return l5 # Return list of course namesget_most_popular_course()