結果 : 6 write a program to create series from an array in python