comefrom: <doocs>2161.Partition Array According to Given Pivot_1.py
code: def pivotArray( nums: List[int], pivot: int) -> List[int]:
      a, b, c = [], [], []
      for x in nums:
          if x < pivot:
              a.append(x)
          elif x == pivot:
              b.append(x)
          else:
              c.append(x)
      return a + b + c
masked: def sample_funcname ( var_0 : List [ int ] , var_1 : int ) -> List [ int ] :
      var_2 , var_3 , var_4 = [ ] , [ ] , [ ]
      for var_5 in var_0 :
          if var_5 < var_1 :
              var_2.append ( var_5 )
          elif var_5 == var_1 :
              var_3.append ( var_5 )
          else :
              var_4.append ( var_5 )
      return var_2 + var_3 + var_4
  