I am tasked with getting this to work, but the initial port scan code wasn\'t working on outdated Python versions. I am extremely new to Python coding and hopefully someone