Jun-29-2020, 12:52 PM
Hello,
I am beginner and I am practicing on how to create a program for email slicer. I have created until the domain name is extracted and for the second part, I am unable to. Kindly help.
I am beginner and I am practicing on how to create a program for email slicer. I have created until the domain name is extracted and for the second part, I am unable to. Kindly help.
string = "[email protected]" LengthofString = len(string) for i in range(LengthofString): if string[i]=='@': break else: print(string[i], end="") for i in range(LengthofString): if string[i]=='@': i = i + 1 print(string[I])