run the second screenshot code first for question 15 e Question 15e [3 points] Write a function popular_course (1, c) that, given a list of students, 1 and a course c, returns a list of students who have taken c def popular_course (1,c): empty [] if c in 1 empty.append (1 )| return [empty] In [421: In [43] s1 Student(314) s1.addCourse( '1md3', 90) s2 Student (535) s2.addCourse( ' 1md3', 90) s2.addCourse('1a03', 82) s3 Student (535) s3.addCourse' 1md3', 90) s3.addCourse ( ' 1a03', 82) s3.addCourse' laa3', 49) popular_course ( [ s1, s2, s3], 'Imd3) [s1, s2, s3] Out[43]: False s1 Student (314) s1.addCourse('1md3', 90) In [44] s2 Student (535) s2.addCourse ( ' 1md3', 90) s2.addCourse( ' 1a03 ', 82) s3 Student(535) s3.addCourse ( 1md3, 90) s3.addCourse ( ' 1a03', 82) s3.addCourse(' laa3', 49) popular_course( [s1, s2, s3], '1a03') == [s2, s3] Out[44] False HIn [25] class Stude (self, student_number): nt: self.student_number=student_number self.courses= def addCourse(self, c , g) if cin self.courses: if self.courses [c]

"Get 15% discount on your first 3 orders with us"
Use the following coupon
"FIRST15"

Order Now