Extracting Nutritional Information

# Introduction In this challenge, we will help the nutrition engineer at the Galactic Empire by writing a Python method called `extract_info(type:str)`. This method will extract specific nutritional information from a webpage that contains a table listing the nutritional components of various fruits. The method should take the name of a nutritional element as a parameter and return the corresponding content for that element in the form of a string array. To complete this challenge, you may use the `requests` library for network requests and the `BeautifulSoup4` library for webpage content extraction.

|60 : 00

Click the virtual machine below to start practicing