I am writing a script that will check the domain name and print the name of the domain. For example if the email id is firstname.lastname@example.org, then the output should be Gmail and so on. How can I implement this?
You can use the split method to split the string into two parts (before and after '@') and then compare it.
Hey, refer to the below code to do this:
Use the following query statement and let ...READ MORE
If you are talking about the length ...READ MORE
Check out the documentation, Document.objects is a QuerySet object.
You seem to be ...READ MORE
if you google it you can find. ...READ MORE
suppose you have a list
a = [0,1,2,3,4,5,6,7,8,9,10]
now ...READ MORE
can you give an example using a ...READ MORE
You can simply the built-in function in ...READ MORE
Try looking the given link for better ...READ MORE