Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 576 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 576 Bytes

Subtask 2: Summing the numbers in each chunk

Purpose:

This involves creating a pool of processes using Python's multiprocessing module and distributing the chunks of data across these processes. Each process then calculates the sum of the numbers within its assigned chunk. This parallel processing technique helps to reduce the overall computation time by executing multiple tasks simultaneously.

Instructions:

  1. Install the required dependencies: pip install multiprocessing
  2. Run the script: python sub_task1.py

Dependencies:

  • Python 3.10 or higher