input: Write a function to clean up a list of emails and put them into a new list. If an email contains a '+' in the local part, the part after the '+' should be removed. If an email contains '.uk' in the domain part, it should be removed. The cleaned emails should be stored in a new list.
  assert clean_emails(['bob@example.com', 'alice+bob@cafe.com', 'bob@gmail.com.uk', 'bob+alice@example'])==['bob@example.com', 'alice@cafe.com', 'bob@gmail.com', 'bob@example']
  assert clean_emails(['alice@example.com', 'bob@gmail.com'])==['alice@example.com', 'bob@gmail.com']
  assert clean_emails([])==[]
  assert clean_emails(['a+b@c.uk'])==['a@c']
  assert clean_emails(['a@c.uk', 'b@d.uk'])==['a@c', 'b@d']
output: def clean_emails(emails):
      cleaned_emails = []
      for email in emails:
          local, domain = email.split('@')
          local = local.split('+')[0]
          if '.uk' in domain:
              domain = domain.replace('.uk', '')
          cleaned_emails.append(f"{local.replace('.', '')}@{domain}")
      return cleaned_emails