+ 2

A little help with my classes program

I'm creating a class to test my knowledge in classes, so I've made a class that contains student names and grades. coding all of that it was easy, but the part I'm stuck on is allowing the user to change the grade of one of the students. a a little help? https://code.sololearn.com/cTfmswdVT2kC/?ref=app

2nd Jul 2017, 2:22 PM
X-1
X-1 - avatar
1 ответ
+ 1
It is easy : create a method like check_grade (ex : set_grade) which will change the grade of a person. In this method you can add constraints
2nd Jul 2017, 2:35 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar