input: Write a function to clean up a list of emails and put them into a new list by removing any text after a plus sign and any ".uk" extensions. The function should return the cleaned list. If the input list is empty, the function should return an empty 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([]) == []
output: def clean_emails(emails):
      cleaned_list = []
      for email in emails:
          if '+' in email:
              email = email.split('+')[0]
          if '.uk' in email:
              email = email.split('.uk')[0]
          cleaned_list.append(email)
      return cleaned_list