code: def get_formatted_path(path):
          
          if path[0] != '/':
              path = '/' + path
          if path[-1] != '/':
              path = '{0}/'.format(path)
          return path
docs: Uniform the path string
  
          :param path: the path
          :return: the uniform path