code: def swap(self, nums, index1, index2):
      if index1 == index2:
          return
      nums[index1], nums[index2] = nums[index2], nums[index1]
  
label_desc: Use image node_id 2 for calling the Solution obj's underlying member method code with example usage: obj.swap(nums, index1, index2) without return types