input: Write a python function to create a decorator that logs the execution time of a function.
  assert my_function(10) == "Function executed"
  assert another_function(5, 3) == "Another function executed"
output: import time
  import functools
  
  def log_execution_time(func):
      @functools.wraps(func)
      def wrapper(*args, **kwargs):
          start_time = time.time()
          result = func(*args, **kwargs)
          end_time = time.time()
          execution_time = end_time - start_time
          print(f"{func.__name__} executed in {execution_time:.4f} seconds")
          return result
      return wrapper
  
  @log_execution_time
  def my_function(x):
      time.sleep(1)
      return "Function executed"
  
  @log_execution_time
  def another_function(a, b):
      time.sleep(0.5)
      return "Another function executed"