BugcrowdMediumCoding00:00

Welcome to your interview for the Security Engineer role at Bugcrowd.
The question is on your right: Python Open Port Scanner. Take a moment with it first.
Talk your thinking through with me if you like - when you're confident, submit your answer and I'll grade it like a real screen. You have three graded attempts to score 7/10 or better.
Write a Python script to check for open ports on a given IP address.