input: Write a function to print a specific pattern of asterisks based on the given input. The function should print an increasing number of asterisks from 1 to 5, followed by a decreasing number of asterisks from 5 back to 1. If the input is valid (e.g., a positive integer greater than 0), the function should print the pattern accordingly. If the input is invalid, the function should print an appropriate error message.
  assert print_asterisk_pattern(5)
  # Output:
  # *
  # **
  # ***
  # ****
  # *****
  # ****
  # ***
  # **
  # *
  
  assert print_asterisk_pattern(3)
  # Output:
  # *
  # **
  # ***
  # **
  # *
  
  assert print_asterisk_pattern(0)
  # Output:
  # Error: Input must be a positive integer greater than 0
  
  assert print_asterisk_pattern(-1)
  # Output:
  # Error: Input must be a positive integer greater than 0
output: def print_asterisk_pattern(n):
      if n <= 0:
          print("Error: Input must be a positive integer greater than 0")
      else:
          for i in range(1, n + 1):
              print('*' * i)
          for i in range(n - 1, 0, -1):
              print('*' * i)