input: Write a function to convert the given SQL query into a Python program. The function should establish a connection to the database using pyodbc, execute the SQL query to fetch all orders from the "orders" table where the year of the order date is 2020, and print the results.
  
  def convert_sql_to_python(connection_details):
      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 = 2020
      where_clause = "WHERE YEAR(order_date) = ?"
  
      # Execute the query
      cursor.execute(sql + " " + where_clause, query_date)
      results = cursor.fetchall()
  
      # Return the results
      return results
  
  assert convert_sql_to_python("<connection details>")==<expected output>
  assert convert_sql_to_python("<connection details>")==<expected output>
  assert convert_sql_to_python("<connection details>")==<expected output>
  assert convert_sql_to_python("<connection details>")==<expected output>
  assert convert_sql_to_python("<connection details>")==<expected output>
output: def convert_sql_to_python(connection_details):
      import 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 YEAR(order_date) = ?"
      query_date = 2020
  
      # Execute the query
      cursor.execute(sql, query_date)
      results = cursor.fetchall()
  
      # Return the results
      return results