Computer Science, asked by mathewsjoby600, 9 months ago

i want to restart the program when i enter y and exit it when i press e please help print ("This is an Email slicer!") print ("It Displays your Username and Domain name") email=input("Enter your email adress: ") user=email[:email.index("@")] domain=email[email.index("@"):] print ("Your username is " + user + " and your domain name is " + domain) pr=input("Do you want to restart?. press (y) for yes and (e) to exit... ") if pr in ('y', 'e'): print ("invalid input") if pr == y: continue else: print ("bye")

Answers

Answered by Angelmurugan2134
1

Answer:

What is your question mate.......

Similar questions