Python Array Extend Function Python Practice