Get Last Object In Array Python Definition