Pinging Hosts Sequentially vs Concurrently in Python

I m reorganizing some things in my homelab and wanted to check how many hosts are alive in a /24. The [ ]