 <p>If you do something in sequence as you do in your code, then it is not a candidate for threading. Threads only help if something can be done in parallel, so in your case i.E. if you do not care in which order the numbers are printed.</p>