def remove_prerequisite_course(course_key, milestone):
 if (not is_prerequisite_courses_enabled()):
  return None
 milestones_api.remove_course_milestone(course_key, milestone)

def remove_prerequisite_course ( course_key , milestone ) : if ( not is_prerequisite_courses_enabled ( ) ) : return None milestones_api . remove_course_milestone ( course_key , milestone )
it would remove pre-requisite course milestone for course referred by course_key .