parameters: (num)
return_statement: return num if num > 0.0 else 0.0
docstring: Return the given number if positive, else 0
  
          :param num: value to check
docstring_summary: Return the given number if positive, else 0
docstring_tokens: Return the given number if positive else 0
function: def positive(num):
      """
      Return the given number if positive, else 0
  
          :param num: value to check
      """
      return num if num > 0.0 else 0.0
function_tokens: def positive ( num ) : return num if num > 0.0 else 0.0