I would like to draw concentric circles like these:
by means of TikZ and \foreach command. The way I achieved it is very elementary (and burdensome):
\documentclass[standalone]
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.2]
\coordinate (O) at (0,0);
\fill[red!70] (O) circle (20);
\fill[white] (O) circle (19);
\fill[yellow!70] (O) circle (18);
\fill[white] (O) circle (17);
\fill[red!70] (O) circle (16);
\fill[white] (O) circle (15);
\fill[yellow!70] (O) circle (14);
\fill[white] (O) circle (13);
\fill[red!70] (O) circle (12);
\fill[white] (O) circle (11);
\fill[yellow!70] (O) circle (10);
\fill[white] (O) circle (9);
\fill[red!70] (O) circle (8);
\fill[white] (O) circle (7);
\fill[yellow!70] (O) circle (6);
\fill[white] (O) circle (5);
\fill[red!70] (O) circle (4);
\fill[white] (O) circle (3);
\fill[yellow!70] (O) circle (2);
\fill[white] (O) circle (1);
\end{tikzpicture}
\end{document}
To no avail did I try applying \foreach, but this is definitely due to my lack of fluency with TikZ (I always ended up with one color, or at most two nested circle with different color). Could you be so kind and help me with these? A suggestion how to do this would be even better than the full answer.








forloop inTeX. So, thanks to you ;) – Raaja_is_at_topanswers.xyz Jan 23 '19 at 12:36