Write together(xs, ys): one number for how much two lists move together, like the hours five students studied and the scores they got. Positive means they rise together, negative means one falls as the other rises.
Five students: how many hours each studied, and the score each got. Do the hours and the scores rise together? Your function answers with one number. Drag the students to make other clouds.
together(xs, ys)| xs | two lists of the same length, e.g. hours studied and test scores | e.g. [1, 2, 3, 4, 5] |
| ys | two lists of the same length, e.g. hours studied and test scores | e.g. [55, 70, 60, 85, 75] |
| returns | one number: how much they move together | |