String And Array Coding Questions In Python