Skip to content

Instantly share code, notes, and snippets.

@KaushikShresth07
Created June 12, 2021 13:33
Show Gist options
  • Select an option

  • Save KaushikShresth07/2e55f27b2b099bfc113a93ea8a033d56 to your computer and use it in GitHub Desktop.

Select an option

Save KaushikShresth07/2e55f27b2b099bfc113a93ea8a033d56 to your computer and use it in GitHub Desktop.
import speedtest
def SpeedTest():
speed = speedtest.Speedtest()
upload = speed.upload()
correct_Up = int(int(upload)/800000)
download = speed.download()
correct_down = int(int(download)/800000)
return f'''
Uploading Speed : {correct_Up} .
Downloading Speed : {correct_down}.
'''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment