input: Write a function to print a random element from a given list of items. If the given list is empty, the function should print "No items in the list".
  def random_element(items):
      import random
      if not items:
          print("No items in the list")
      else:
          randomIndex = random.randint(0, len(items)-1)
          randomItem = items[randomIndex]
          print("Random item: " + randomItem)
  
  assert random_element(["apple", "banana", "mango", "pear", "grape"])  # Expected output: Random item: [one of the fruits]
  assert random_element([])  # Expected output: No items in the list
output: def random_element(items):
      import random
      if not items:
          print("No items in the list")
      else:
          randomIndex = random.randint(0, len(items)-1)
          randomItem = items[randomIndex]
          print("Random item: " + randomItem)