This is Exercise 8, Chapter 2 in Stein and Shakarchi's Functional Analysis. It looks easy but I have not found a way to prove it.
Suppose $T$ is a bounded linear transformation mapping the space of real-valued $L^p$ functions into itself with $$\|T(f)\|_{L^p} \le M \|f\|_{L^p}.$$
(a) Let $T′$ be the extension of T to complex-valued functions: $T′ (f_1+ if_2) = T(f_1) + iT(f_2)$. Then $T′$ has the same bound: $\|T'(f)\|_{L^p} \le M \|f\|_{L^p}$.
(b) More generally, fix any $N$, then $$\|(\sum_{j=1}^N |T(f_j)|^2)^{1/2}\|_{L^p} \le M \|(\sum_{j=1}^N |f_j|^2)^{1/2}\|_{L^p}$$
[Hint: For part (b), let $\xi$ denote a unit vector in $\mathbb{R}^N$, and let $F_\xi = \sum_{j=1}^N \xi_j f_j , \xi = (\xi_1 , \dots , \xi_N )$. Then $\int | (TF_\xi)(x)|^p \le M^p \int | F_\xi (x) |^p$. Integrate this inequality for $\xi$ on the unit sphere.]
EDIT: Following Oliver Díaz's kind advice, here's some context. I am self studying functional analysis using the aforementioned textbook. I try to solve every exercise and problem. Most exercises are straightforward enough. I turn to stackexchange if I fail to get a solution within 24 hours.