Which example is a function and which is not? Explain why.

1. Each student takes a selection of art classes.

2. Each student is placed in a math class.

Please Help!!
Thank You so much!!