code: def if_basic_list(a):
      x = [a, 0]
  
      if x[0] > 0:
          x[1] = 1
      else:
          x[1] = -1
      return x
  
imports: import itertools
  from absl.testing import parameterized
  import tensorflow
  from tensorflow.python.autograph.tests import reference_test_base
label_desc: Use image node_id 2 for calling a global function with example usage: if_basic_list(a) and returns: x