Get comprehensive answers to your questions with the help of IDNLearn.com's community. Our experts are available to provide accurate, comprehensive answers to help you make informed decisions about any topic or issue you encounter.

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.