Python Array Assign Value To Text