Both of those questions can be answered by checking the documentation.
(The point of the assignment is to get you to practice reading documentation for code you did not write, but still must use "in...