Explore Westonci.ca, the top Q&A platform where your questions are answered by professionals and enthusiasts alike. Get detailed and accurate answers to your questions from a dedicated community of experts on our Q&A platform. Get quick and reliable solutions to your questions from a community of experienced experts on our platform.

Let A = {0, 1, 2} and let S be the set of all strings over A. Define a relation L from S to nonneg as follows: For every string s in S and every nonnegative integer n,
(s,n)∈L means that the length of s is n.
Then L is a function because every string in S has one and only one length. Find L(0201) and L(12).