Our contribution represents a new method of learning mathematics by group through the differentiated pedagogy whose goal is to reduce the heterogeneity between learners in the classroom by using their knowledge, skills, and social profile. Indeed, there are different ways to implement a differentiated pedagogy. These methods must be considered by the teacher in order for his rehabilitation to be effective in student learning. Our approach specifically concerns differentiation by situation, it allows students to self-assess, and this to situate their knowledge and skills. In case of difficulty when assessing the learner, the approach uses group learning so that learners interact with each other without using the teacher. In the next works, we wish to integrate into our exerciser platform a module for the interaction of the students in order to discuss the difficulties and share the information between them.