Develop a function in Python to identify the courses in a list of courses that need prerequisites.
[ ["Calculus I","none"], ["Calculus II", "Calculus I"], ["Algebra I", "none"], ["Algebra II", "Algebra I"] ]
def prerequisitesCourses(courses):
    requiredCourses = []
    for course in courses:
        if course[1] != "none":
            requiredCourses.append(course[1])
    return requiredCourses