input: def clean_emails(emails: List[str]) -> List[str]:
      """Cleans a list of emails by removing any text after '+' and any domain ending in '.uk'.
      
      >>> 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']
      """
      clean_list = []
      for email in emails:
          email_without_plus = email.split('+')[0]
          email_without_dot_uk = email_without_plus.split('.uk')[0]
          clean_list.append(email_without_dot_uk)
      return clean_list
output:     clean_list = []
      for email in emails:
          email_without_plus = email.split('+')[0]
          if email_without_plus.endswith('.uk'):
              continue
          clean_list.append(email_without_plus)
      return clean_list