input: Write a function to convert the given SQL query into a Python program. The function should connect to a database, execute the provided SQL query to fetch orders from year 2020, and print the results.
  
  def convert_sql_to_python():
      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)
  
  assert convert_sql_to_python.__code__.co_name == 'convert_sql_to_python'
  # No direct assertions for printed output, but function structure should match the expected behavior
output: def convert_sql_to_python():
      import datetime, pyodbc
      
      conn = pyodbc.connect("<connection details>")
      cursor = conn.cursor()
  
      sql = "SELECT * FROM orders"
      query_date = datetime.date.today().year
      where_clause = "WHERE YEAR(order_date) = ?"
  
      cursor.execute(sql + " " + where_clause, query_date)
      results = cursor.fetchall()
  
      for result in results:
          print(result)