Polynomials separating disjoint ultrametric compact sets
Let $k$ be a normed field with ultrametric distance, let $I$ be a finite set, and let $Z_1,Z_2\subseteq k^I$ be disjoint compact sets. For every $\varepsilon>0$ there is $P\in k[X_i:i\in I]$ such that $$|P(z)-1|\le\varepsilon\quad(z\in Z_1),\qquad |P(z)|\le\varepsilon\quad(z\in Z_2).$$
Role
This supplies one polynomial approximating the indicator of either of two disjoint compact sets.