check internet speed and connection code example Example: internet speed test. print('Internet Works')