input: Write a function to print a random element from a given list of fruits. If the input list is empty, it should print "List is empty".
  import random
  
  assert random_fruit(["apple", "banana", "mango", "pear", "grape"])==None
  assert random_fruit([])==None
  assert random_fruit(["apple"])==None
  assert random_fruit(["orange", "pineapple"])==None
output: def random_fruit(fruits):
      if not fruits:
          print("List is empty")
      else:
          print(random.choice(fruits))