from multiprocessing.pool import ThreadPool


def hello(i):
    print("{} \n".format(i))

p = ThreadPool(2)
p.map(hello, range(3))
1eff536921fe5ebd0036053b7f35ffa90d84a81c
<mask token>


def hello(i):
    print('{} \n'.format(i))


<mask token>

<mask token>


def hello(i):
    print('{} \n'.format(i))


<mask token>
p.map(hello, range(3))

<mask token>


def hello(i):
    print('{} \n'.format(i))


p = ThreadPool(2)
p.map(hello, range(3))

from multiprocessing.pool import ThreadPool


def hello(i):
    print('{} \n'.format(i))


p = ThreadPool(2)
p.map(hello, range(3))

from multiprocessing.pool import ThreadPool


def hello(i):
    print("{} \n".format(i))

p = ThreadPool(2)
p.map(hello, range(3))