Replace Value In Array Python