In python. I need to delete some of classes in timetable