Range errorbrowsing

Hey guys
I'm just starting to learn Python and seem to have ran into an error I can't figure out how to fix. I tried setting up a port scanner and seems to throw an error. My error reads range expected 1 got zero. It errors in the range column. I tried looking it up on how to fix it but no dice. Any help would be appreciated