AgentTadpole

Answers - Email URL

Nov 4th, 2013
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. def getEmailURL(email):
  2.     splitEmail = email.split("@")
  3.  
  4.     url = "http://www." + splitEmail[1]
  5.     return url
  6.  
  7. email = input("Enter email: ")
  8. url = getEmailURL(email)
  9. print("The URL of that email is " + url)
Advertisement
Add Comment
Please, Sign In to add comment