Question: Please it must be done and comment it in python launguage . Thank you Every website has subdomains associated with it. Your task is to
Every website has subdomains associated with it. Your task is to count the number of hits to each of the sub-domains The input would be like "100 www.facebook.com*, integer and string pair. 100 is the number of hits to each of the subdomain. Write a function to accomplish this task. 3. Example 1: Input: "100 www.facebook.com"] Output: "100 www.facebook.com", "100 facebook.com", "100 com"]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
