text: #!/usr/bin/python3
  import sys
  
  """
       function that executes a function safely.
      """
  
  
  def safe_function(fct, *args):
      try:
          return fct(*args)
      except Exception as ex:
          print("Exception: {}".format(ex), file=sys.stderr)
          return None
      
  