diff --git a/Processes/two.py b/Processes/two.py
new file mode 100644
index 0000000..87fa7b6
--- /dev/null
+++ b/Processes/two.py
@@ -0,0 +1,15 @@
+import multiprocessing
+
+def worker(num):
+ print("Worker: ", num)
+
+if __name__ == '__main__':
+ jobs = []
+
+ for i in range(5):
+ p = multiprocessing.Process(target=worker, args=(i, ))
+ jobs.append(p)
+ p.start()
+
+ for job in jobs:
+ job.join()
\ No newline at end of file
diff --git a/README.md b/README.md
index d1bb406..102cfaa 100644
--- a/README.md
+++ b/README.md
@@ -2,5 +2,9 @@
here are the resources I used:
+ - https://www.youtube.com/playlist?list=PLeo1K3hjS3uub3PRhdoCTY8BxMKSW7RjN
- https://dev.to/nbosco/multithreading-vs-multiprocessing-in-python--63j
+ - https://tutorialedge.net/python/python-multithreading-tutorial/
+ - http://www.bogotobogo.com/python/Multithread/python_multithreading_creating_threads.php
+ - https://pymotw.com/2/multiprocessing/basics.html
\ No newline at end of file
diff --git a/Threads/two.py b/Threads/two.py
new file mode 100644
index 0000000..e1c516f
--- /dev/null
+++ b/Threads/two.py
@@ -0,0 +1,17 @@
+import threading
+
+class Worker(threading.Thread):
+ def __init__(self):
+ super(Worker, self).__init__()
+
+ def run(self):
+ for i in range(10):
+ print(i)
+
+if __name__ == '__main__':
+ thread1 = Worker()
+ thread2 = Worker()
+ thread3 = Worker()
+ thread1.start()
+ thread2.start()
+ thread3.start()
\ No newline at end of file