Explore Westonci.ca, the top Q&A platform where your questions are answered by professionals and enthusiasts alike. Connect with a community of professionals ready to help you find accurate solutions to your questions quickly and efficiently. Experience the convenience of finding accurate answers to your questions from knowledgeable experts on our platform.

write a function called parse line that takes a string representing a line from the file with | separating the different parts of the line. the function should return a list with 4 entries representing the number of reviews, the average review, the restaurant name, and the type. you can assume there is always at least one review. be careful of extra white space.