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
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):
.....
+ 1
Write everything here in one file.
0
there is method in Class1 that compute the the average score of the students