code: def get_task_cost(self, task_name):
          
          summary = self.get_task_summary(task_name)
          if summary is None:
              return None
  
          if 'Cost' in summary:
              task_cost = summary['Cost']
  
              cpu_cost = task_cost.get('CPU')
              memory = task_cost.get('Memory')
              input_size = task_cost.get('Input')
  
              return Instance.TaskCost(cpu_cost, memory, input_size)
docs: Get task cost
  
          :param task_name: name of the task
          :return: task cost
          :rtype: Instance.TaskCost
  
          :Example:
  
          >>> cost = instance.get_task_cost(instance.get_task_names()[0])
          >>> cost.cpu_cost
          200
          >>> cost.memory_cost
          4096
          >>> cost.input_size
          0