Two Sum Leetcode Problem In Python What Is A Function