I do not understand how to build sets for each classroom
<p>My main objective of this function is to check whether a professor is teaching two courses at the same time.    </p>

<pre><code>def FacultyMemberOnneClass(self):
    for P in ProfessorList:
        for CL in ClassRoomList:
            for CO in CourseList:
                if CO.ProfessorId  == P.ProfessorId: 
                    Start = CO.StartTime() 
                    End = CO.EndTime() 
                    TimeRange = range(Start, End, .25) 
                    TimeRangeSet = Set(TimeRange)
</code></pre>
