Modify Array In Python Definition