Change Element In Array Python Methods