func_code: def factorial(n):
      A = 'fact.c'
      with open(A, 'w') as f:
          f.write(s.format(n))
      with open('stdout.txt', 'w+') as f:
          subprocess.run(['gcc', A, '-o', 'out.o'])
          subprocess.run(['./out.o'], stdout=f)
          f.seek(0)
          return int(f.readline())