code: def while_with_local_call(n):
      def local_fn(x):
          return x * 3
  
      i = 0
      s = 0
      while i < n:
          s = s * 10 + local_fn(i)
          i += 1
      return s
  
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 7 for calling a global function with example usage: while_with_local_call(n) and returns: s, unknown