input: Write a function to slice a string in Python that takes a string, a start index, and an end index, and returns the slice of the string from the start index to the end index (not inclusive). If the given string is empty, return an empty string.
  
  def slicing(string, start, end):
      if not string:
          return ""
      return string[start:end]
  
  assert slicing("This is a slicing test", 8, 15)=='slicing'
  assert slicing("", 0, 0)==""
  assert slicing("Python", 1, 4)=='yth'
  assert slicing("Hello World", 6, 11)=='World'
  assert slicing("Testing", 0, 7)=='Testing'
output: def slicing(string, start, end):
      if not string:
          return ""
      return string[start:end]