from multiprocessing import Process,Queue
from multiprocessing.managers import BaseManager
import time
import random


class Produtor(Process):

    def __init__(self, queue, *args, **kwargs):
        super(Process, self).__init__(*args, **kwargs)
        self.queue = queue

    def run(self):
        while(True):
            n = random.randint(1,400000)
            self.queue.put(n)
            time.sleep(1)
037d13c9020c9ed60f459e75b6221a4e3c547809
<mask token>


class Produtor(Process):
    <mask token>
    <mask token>

<mask token>


class Produtor(Process):

    def __init__(self, queue, *args, **kwargs):
        super(Process, self).__init__(*args, **kwargs)
        self.queue = queue
    <mask token>

<mask token>


class Produtor(Process):

    def __init__(self, queue, *args, **kwargs):
        super(Process, self).__init__(*args, **kwargs)
        self.queue = queue

    def run(self):
        while True:
            n = random.randint(1, 400000)
            self.queue.put(n)
            time.sleep(1)

from multiprocessing import Process, Queue
from multiprocessing.managers import BaseManager
import time
import random


class Produtor(Process):

    def __init__(self, queue, *args, **kwargs):
        super(Process, self).__init__(*args, **kwargs)
        self.queue = queue

    def run(self):
        while True:
            n = random.randint(1, 400000)
            self.queue.put(n)
            time.sleep(1)

from multiprocessing import Process,Queue
from multiprocessing.managers import BaseManager
import time
import random


class Produtor(Process):

    def __init__(self, queue, *args, **kwargs):
        super(Process, self).__init__(*args, **kwargs)
        self.queue = queue

    def run(self):
        while(True):
            n = random.randint(1,400000)
            self.queue.put(n)
            time.sleep(1)