Python Add Elements Of Array Methods In C