Question: In Python please explain, thanks! Problem 1 Create a function that grabs the email website domain from a string in the form user@domain.com So for
In Python please explain, thanks!
Problem 1 Create a function that grabs the email website domain from a string in the form user@domain.com So for example, passing "user@domain.com" would return: domain Hint search for @sign and then sign top find their positions and then use these values to slice the strings. In 1 In [4] def domainGet (email): In [6]: domainGet( user@domain.com) Out[6] 'domain
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
