input: 
  def convert_sql_to_python(connection_details: str, order_date_year: int):
      """ Converts a SQL query into a Python program that executes the query and prints the results.
      >>> convert_sql_to_python("<connection details>", 2020)
      # Outputs the results of the query SELECT * FROM orders WHERE YEAR(order_date) = 2020
      """
      import datetime, pyodbc
      
      # Establish a connection to the database
      conn = pyodbc.connect(connection_details)
      cursor = conn.cursor()
      
      # Get the year of the order date
      sql = "SELECT * FROM orders"
      query_date = datetime.date.today().year
      where_clause = "WHERE YEAR(order_date) = ?"
      
      # Execute the query
      cursor.execute(sql + " " + where_clause, query_date)
      results = cursor.fetchall()
      
      # Output the results
      for result in results:
          print(result)
  
output:     # Close the connection
      cursor.close()
      conn.close()