input: Write a python function to validate user input and ensure it is between 0 and 10, raising a ValueError if it's not.
  assert validate_input(5) == 5
  assert validate_input(0) == 0
  assert validate_input(10) == 10
  assert_raises(ValueError, validate_input, -1)
  assert_raises(ValueError, validate_input, 11)
output: def validate_input(value):
      if not (0 <= value <= 10):
          raise ValueError("Input must be between 0 and 10")
      return value