input: Write a python function to extract phone numbers and email addresses from a given string.
  assert extract_contact_info("John Smith-555-1234, john.s@example.com") == ("555-1234", "john.s@example.com")
  assert extract_contact_info("Jane Doe-444-5678, jane.d@example.org") == ("444-5678", "jane.d@example.org")
  assert extract_contact_info("NoPhoneNumber, noemail@domain.com") == (None, "noemail@domain.com")
  assert extract_contact_info("NoEmail-123-4567, ") == ("123-4567", None)
output: import re
  
  def extract_contact_info(s):
      phone_pattern = r'\b\d{3}-\d{4}\b'
      email_pattern = r'\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b'
  
      phone_match = re.search(phone_pattern, s)
      email_match = re.search(email_pattern, s)
  
      phone_number = phone_match.group() if phone_match else None
      email_address = email_match.group() if email_match else None
  
      return (phone_number, email_address)