Last active
October 8, 2021 08:50
-
-
Save vaibhavkumargautam/7ac689a73ebf20774cbb8bb8e55f0daf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import multiprocessing | |
if __name__ == '__main__': | |
p = multiprocessing.Pool() | |
dd=list(range(1, 500)) | |
for n in range(0, len(dd)): | |
p.apply_async(multip(n) ) | |
p.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment