from student import Student from fag import Fag fag = [] fag.append(Fag("IN1000")) fag.append(Fag("IN1020")) fag.append(Fag("IN1150")) fag.append(Fag("ExPhil")) studenter = [] studenter.append(Student("Nikzad")) studenter.append(Student("Majid")) studenter.append(Student("Khoi")) studenter.append(Student("Anette")) studenter.append(Student("Sara D")) studenter.append(Student("Sara G")) studenter.append(Student("Malin")) for student in studenter: fag[0].leggTilStudent(student) fag[1].leggTilStudent(student) fag[0].skrivStudenterVedFag()