input: def clean_emails(emails: List[str]) -> List[str]:
      """Cleans up a list of emails by removing the part after '+' and the '.uk' extension.
      >>> 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']
      """
output:     cleaned_emails = []
      for email in emails:
          local, domain = email.split('@')
          local = local.split('+')[0]
          domain = domain.replace('.uk', '')
          cleaned_emails.append(f"{local}@{domain}")
      return cleaned_emails