Pergunta de entrevista da empresa Proptiger

Q. How will you print 1-10 using two threads.