input: Write a function `print_customer_data` that takes a customer name as input and searches for customer data by that name, then prints the results. The function should be part of a command-line application in Python that allows customers to query by customer name. The main function checks command line arguments and calls `print_customer_data` if a customer name is specified. If no name or an invalid number of arguments is provided, it prints an error message.
  
  
  import sys 
    
  def print_customer_data(name): 
      # Code for searching customer data by customer name and 
      # printing results 
      ...
  
  # Main function for the customer search application
  if __name__=="__main__": 
      # Get command line arguments 
      args = sys.argv 
      
      if len(args) == 2: 
          name = args[1]
          print_customer_data(name) 
      else: 
          print("Invalid arguments, please specify a customer name.")
  
  
  assert print_customer_data("John")=="Printing customer data for John"
  assert print_customer_data("Alice")=="Printing customer data for Alice"
  assert print_customer_data("")=="No customer found"
  assert print_customer_data(None)=="Invalid customer name"
output: def print_customer_data(name): 
      if name is None or name == "":
          print("Invalid customer name")
      else:
          print(f"Printing customer data for {name}")