comefrom: <doocs>1232.Check If It Is a Straight Line_1.py
code: def checkStraightLine( coordinates: List[List[int]]) -> bool:
      x1, y1 = coordinates[0]
      x2, y2 = coordinates[1]
      for x, y in coordinates[2:]:
          if (x - x1) * (y2 - y1) != (y - y1) * (x2 - x1):
              return False
      return True
masked: def sample_funcname ( var_0 : List [ List [ int ] ] ) -> bool :
      var_5 , var_6 = var_0 [ 0 ]
      var_8 , var_9 = var_0 [ 1 ]
      for var_11 , var_12 in var_0 [ 2 : ] :
          if ( var_11 - var_5 ) * ( var_9 - var_6 ) != ( var_12 - var_6 ) * ( var_8 - var_5 ) :
              return False
      return True
  