Join the IDNLearn.com community and start finding the answers you need today. Join our interactive Q&A community and get reliable, detailed answers from experienced professionals across a variety of topics.

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.