結果 : how to generate a vector in python