def METHOD_NAME(course_key, separator='/'):
    if isinstance(course_key, str):
        course_key = CourseKey.from_string(course_key)
    return separator.join([course_key.org, course_key.course, course_key.run])