def positive_negative(inputlist):
  """ return true if all items in the input list having same sign (+ or -)"""
  if ((all(item>0 for item in list(inputlist))) or (all(item<0 for item in list(inputlist)))):
    return True  # elements with same sign (+ or -)
  else:
    return False