Parallel Algorithm And Multithreading In Python Examples Using While Loop