I'm going to ask a very silly question, so I'm begging you to be understanding if it is absolutely trivial, or if it's an exercise in some Bourbaki. I'm afraid of asking you, because the question entails this particular case: is the addition of (a finite, but variable quantity of) real numbers a continuous function?
Ok, let me try to explain what I mean.
I'm insisting in doing exercices about topological groups, see if I can understand something about those previous question 1, question 2 and question 3. This one should be more elementary.
Let $G$ be a topological Abelian group, written additively, and let $I$ be an arbitrary set. I don't mind if you take $G = \mathbb{R}$, with the usual Euclidian topology and the usual addition of real numbers, but you cannot assume $I$ is finite, nor countable. Let
$$ G^I = \prod G = \prod_\alpha G_\alpha , \qquad \text{where}\ G_\alpha = G \qquad \text{for all}\ \alpha \in I \ . $$
Let us denote $(x_\alpha)$ the elements of $\prod G$. This is an Abelian topological group with the usual product topology and operations defined component-wise:
$$ \begin{align} (x_\alpha) + (y_\alpha) &= (x_\alpha + y_\alpha) \\\ -(x_\alpha) &= (-x_\alpha) \end{align} $$
Consider also the weak product $\prod' G$ (aka, direct sum). That is, elements of $\prod' G$ are those tuples $(x_\alpha) \in \prod G$ such that $x_\alpha = 0$, except for a finite number of indexes $\alpha \in I$.
$\prod'G $ is of course a subgroup of $\prod G$, $\prod' G \subset \prod G$. Let's consider the subspace topology on $\prod' G$, induced from the product topology on $\prod G$.
Then we have a well-defined addition map that we hadn't in $\prod G$:
$$ \sum : \prod ' G \longrightarrow G \ , \qquad (x_\alpha ) \mapsto \sum_\alpha x_\alpha \ . $$
This makes sense, despite the fact $I$ is not necessarily an ordered set because, given an element $(x_\alpha) \in \prod'G$, if $x_{\alpha_1}, \dots , x_{\alpha_n}$ are its non-zero components, we don't have a canonical choice in order to perform the addition $x_{\alpha_1} + \cdots + x_{\alpha_n}$. Nevertheless, since the sum is associative and commutative, we may do it as we please: the result will always be the same. Hence $\sum_\alpha x_\alpha$ is well-defined.
Question. Is this map $\sum$ continuous?
That is, if you don't like too much abstraction in your life, but prefer to be very specific: is the sum of real numbers
$$ \sum: \prod' \mathbb{R} \longrightarrow \mathbb{R} \ , \qquad (x_\alpha) \mapsto \sum_\alpha x_\alpha $$
continuous?
Remark 1. The question seems silly, doesn't it? Well, maybe it is, but the first answer that came to my mind is wrong, as far as I can see: you cannot say "this $\sum$ is continuous because it is a composition of continuous maps"; namely, the iteration of the addition of $G$. Yeah, but: which composition? Notice that there is no canonical choice for doing the addition in an specific order -there could be no order at all in $I$. So every time you compute $\sum_\alpha x_\alpha$ you can change the order in which you perform the (continuous) sums $x_\alpha + x_\beta$. So, $\sum$ is not a composition of a finite number of specific maps.
(Edit. Previous Remark 2 was wrong.)
In the case where $I$ is infinite and $G$ has a non trivial topology, then the answer is no. let $(x_\alpha) \in \prod 'G_\alpha$ and let $U$ be an open set containing $( x_\alpha)$.
U comes from an open set in the regular product topology, so we can assume that it is $\prod U_\alpha \cap \prod'G_\alpha$ where only for finite number $U_\alpha \neq G$. the assumption that $I$ is infinite gives at least one $U_\beta=G$ so for all $(y_\alpha)$ such that $y_\alpha = 0 \forall \alpha\neq \beta$ we have $(x_\alpha)+(y_\alpha) \in U$ so $\sum (U) = G$, because we can choose $y_\beta$ to be any element of G.
This means that if $V\neq G$ is an open neighborhood of $\sum (x_\alpha)$ then there is no open neighborhood U of $(x_\alpha)$ such that $\sum (U) \subseteq V$.