Domanda di colloquio di Proptiger

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