input: Write a function to print a random element from a given list. The list is provided as an input parameter to the function. If the list is empty, print "No fruits available".
  assert select_random_fruit(["apple", "banana", "mango", "pear", "grape"])!="No fruits available"
  assert select_random_fruit([])=="No fruits available"
  assert select_random_fruit(["apple"])!="No fruits available"
output: import random
  
  def select_random_fruit(fruits):
      if not fruits:
          print("No fruits available")
      else:
          print(random.choice(fruits))