Find the best solutions to your questions at Westonci.ca, the premier Q&A platform with a community of knowledgeable experts. Join our platform to connect with experts ready to provide detailed answers to your questions in various areas. Our platform provides a seamless experience for finding reliable answers from a network of experienced professionals.

write a function that takes a list and an integer n as parameters and returns the nth item in the list. ex. [1,2,3,4] 2 gives 3 and [1,2,3,4] 1 gives 2