0

Can someone solve this?

Creating a method gather students informations Creating a method that store the informations in a text file(id,name,family,score,unit..) Creating a class that contains a dictionary that its keys are students id and its values are student objects {“123456”: stu1} https://code.sololearn.com/cLjujYWEU6RL/?ref=app https://code.sololearn.com/c7862TauM0y5/?ref=app

19th Jan 2020, 6:42 PM
Amirkia
Amirkia - avatar
3 Antworten
+ 4
The code in Class1 has to be changed to: class course: def __init__(self, name, units, score): ..... class student: def __init__(self, name, family, id): .....
19th Jan 2020, 7:18 PM
Lothar
Lothar - avatar
+ 1
Write everything here in one file.
19th Jan 2020, 7:13 PM
JaScript
JaScript - avatar
0
there is method in Class1 that compute the the average score of the students
19th Jan 2020, 6:43 PM
Amirkia
Amirkia - avatar