Create a student class which has following functionality:
- Initialise a student with mandatory parameters
- Create a student with name, email and phone number
- Add a list of subjects based on which class he is
- Add a function to calculate his percentage based on marks scored
I have written C++ code of student database. I want python code so please anyone write in python and share asap.
Thanks in advance :-)