input: 
  def convert_sql_to_python(connection_details: str, target_year: int) -> None:
      """
      Convert a given SQL query into a Python program that performs the same operation.
      
      Example:
      convert_sql_to_python("<connection details>", 2020)
      Output:
          Prints rows from the 'orders' table where the 'order_date' year is 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"
      where_clause = "WHERE YEAR(order_date) = ?"
  
      # Execute the query
      cursor.execute(sql + " " + where_clause, target_year)
      results = cursor.fetchall()
  
      # Output the results
      for result in results:
          print(result)
  
output:     # Close the connection
      cursor.close()
      conn.close()