human
Solve the following python programming problem given the following code:
# %load threading_subclass.py
import threading
import logging

logging.basicConfig(level=logging.DEBUG,
                    format='(%(threadName)-10s) %(message)s',
                    )

class MyThread(threading.Thread):
    def run(self):
        logging.debug('running')
        return

for i in range(5):
    t = MyThread()
    t.start()
Given the above code, generate some markdown instructions for it.
assistant
#Here is the Python code you requested.

Since the worker is sleeping for a random amount of time, the output from this program may vary. It should look something like this:  
$ python threading_enumerate.py  
(Thread-1  ) sleeping 3  
(Thread-2  ) sleeping 4  
(Thread-3  ) sleeping 4  
(MainThread) joining Thread-1  
(Thread-1  ) ending  
(MainThread) joining Thread-3  
(Thread-2  ) ending  
(Thread-3  ) ending  
(MainThread) joining Thread-2
Subclassing Thread
At start-up, a Thread does some basic initialization and then calls its run() method, which calls the target function passed to the constructor. To create a subclass of Thread, override run() to do whatever is necesssary.