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