PROGRAMMING:The use of students
1. Design a student class, which includes: 1) name, sex, sex and score, 2) construction method with name, sex and score as parameters, 3) get () method with three parameters
2. In addition, write the function makestudent (studentstring) to convert the string into an instance of the student class
3. Do the test program: according to the input data, print the information of the highest score and the list of failure.
Tip: input multiple lines of data, using sys. Stdin. Readlines() method of sys module (Ctrl + d end input)
###Input format:
Enter multiple lines of string separated by commas
###Output format:
Print all the data of the highest score, and print the list of failure
###Input example:
Here is a set of inputs. For example:
```in
mary,female,78
tom,male,65
susan,female,90
jack,male,23
johon,male,98
chris,female,44
zip,female,87
kiki,male,38
steven,male,58
kate,female,66
```
###Output example:
The corresponding output is given here. For example:
```out
the highest score: johon male 98.0
no pass:
jack
chris
kiki
steven
```
answer:If there is no answer, please comment
2. In addition, write the function makestudent (studentstring) to convert the string into an instance of the student class
3. Do the test program: according to the input data, print the information of the highest score and the list of failure.
Tip: input multiple lines of data, using sys. Stdin. Readlines() method of sys module (Ctrl + d end input)
###Input format:
Enter multiple lines of string separated by commas
###Output format:
Print all the data of the highest score, and print the list of failure
###Input example:
Here is a set of inputs. For example:
```in
mary,female,78
tom,male,65
susan,female,90
jack,male,23
johon,male,98
chris,female,44
zip,female,87
kiki,male,38
steven,male,58
kate,female,66
```
###Output example:
The corresponding output is given here. For example:
```out
the highest score: johon male 98.0
no pass:
jack
chris
kiki
steven
```
answer:If there is no answer, please comment