" if (particles[i].get_pBest_distance() <= Maximum_distance) and (particles[i].get_pBest_cost() <= Maximum_cost) and (Weather>=20 and Weather<=28):\n",
" if (particles[i].get_pBest_distance() <= Maximum_distance) and (particles[i].get_pBest_cost() <= Maximum_cost) and (Weather>=20 and Weather<=28):\n",