code: def funny_func(x):
      s = 0
      for i in range(len(x)):
          s += (x[i] * i) ** 2
      return s
  
imports: import sys
  from skopt.plots import plot_objective
  from skopt import forest_minimize
  import numpy
  import matplotlib.pyplot
label_desc: Use image node_id 1 for calling a global function with example usage: funny_func(x) and returns: s