Question: Subtask 1 . 1 : Extract the product name The following function extract _ product _ name ( product _ card ) that takes a
Subtask : Extract the product name
The following function extractproductnameproductcard that takes a product card string as input and
returns the product name as a string.
def extractproductnameproductcard:
IN: productcard, string, the product card string
OUT: productname, string, the product name
find h tag with class title
then use to capture the product name in the tag
pattern r
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
