Declaring lots of TkInter Intvar control variables in Python
<p>I need more than 25 radiobutton groups in my window.</p>

<p>For getting their values I need control variables.</p>

<p>To declare them I did this:</p>

<p>var1=Intvar()</p>

<p>var2=Intvar()</p>

<p>var3=Intvar()</p>

<p>.</p>

<p>.</p>

<p>var25=Intvar()</p>

<p>Is there any simpler, more compact way to declare (like an array or similar in C) and work with them than this?</p>