input: Write a function to convert an SQL SELECT query to a Python script using SQLite. The function should take a connection string and a query string as input, execute the query, and print the results. If the connection or query fails, the function should return False, otherwise return True.
  
  def convert_sql_to_python(connection_string, query):
      try:
          import sqlite3
          conn = sqlite3.connect(connection_string)
          cursor = conn.cursor()
          cursor.execute(query)
          result = cursor.fetchall()
          for row in result:
              print(row)
          conn.close()
          return True
      except Exception as e:
          print(f"An error occurred: {e}")
          return False
  
  assert convert_sql_to_python('movies.db', "SELECT * FROM Movies WHERE category = 'horror'")==True
  assert convert_sql_to_python('nonexistent.db', "SELECT * FROM Movies WHERE category = 'horror'")==False
  assert convert_sql_to_python('movies.db', "SELECT * FROM NonexistentTable WHERE category = 'horror'")==False
output: def convert_sql_to_python(connection_string, query):
      try:
          import sqlite3
          conn = sqlite3.connect(connection_string)
          cursor = conn.cursor()
          cursor.execute(query)
          result = cursor.fetchall()
          for row in result:
              print(row)
          conn.close()
          return True
      except Exception as e:
          print(f"An error occurred: {e}")
          return False