input: Write a function to print a random element from a given list of fruits. The function should take a list as input and print a random fruit from that list.
  
  def print_random_fruit(fruits):
      randomIndex = random.randint(0, len(fruits)-1)
      randomFruit = fruits[randomIndex]
      print("Random fruit: " + randomFruit)
  
  import random
  
  assert print_random_fruit(["apple", "banana", "mango", "pear", "grape"])
  assert print_random_fruit(["apple", "banana", "mango", "pear", "grape"])
  assert print_random_fruit(["apple", "banana", "mango", "pear", "grape"])
  assert print_random_fruit(["apple", "banana", "mango", "pear", "grape"])
  assert print_random_fruit(["apple", "banana", "mango", "pear", "grape"])
output: def print_random_fruit(fruits):
      randomIndex = random.randint(0, len(fruits)-1)
      randomFruit = fruits[randomIndex]
      print("Random fruit: " + randomFruit)