0

Python Class and method

I want to create a class for mentor and learner with the following methods : addStacks() : Add a particular stack of interest/expertise setMentorOrLearner() : Set whether the participant is learner or mentor setAvailableTime() : if person is mentor set available time getMentor() : Takes stack and time as params and finds available mentors. Can anyone help me out with the code:

17th Mar 2020, 3:23 PM
Xin Chuan
Xin Chuan - avatar
2 Answers
+ 5
You should do a bit more by yourself. Take your descripton and turn it to code step by step. If you stuck somewhere, link your code here, so that we can try to help.
17th Mar 2020, 5:06 PM
Lothar
Lothar - avatar
+ 1
@Lothar it would be very helpful if you could get me the code, I am doubtful on how to proceed
17th Mar 2020, 5:21 PM
Xin Chuan
Xin Chuan - avatar