input: Write a function to create a string slicing function in Python that takes a string and two integer inputs representing the start and end indices, and returns the substring from the start index to just before the end index.
  
  
  def slicing(string, start, end):
      return string[start:end]
  
  assert slicing("This is a slicing test", 8, 15) == "a slicing"
  assert slicing("Python Programming", 7, 18) == "Programming"
  assert slicing("To slice or not to slice", 0, 2) == "To"
  assert slicing("Empty result", 4, 4) == ""
  assert slicing("", 0, 0) == ""
  
output: def slicing(string, start, end):
      return string[start:end]