Python Add Elements Of Array To Object In Python