input: Write a function to re-write an SQL query in Python that selects all columns from a Movies table where the category is 'horror'. The function should connect to a SQLite database file named 'movies.db', execute the query, fetch the results, and print each row. If no results are found, the function should handle this gracefully and print a message indicating no results were found.
  
  assert re_write_sql_in_python() is None
  assert re_write_sql_in_python() is None
  assert re_write_sql_in_python() is None
  assert re_write_sql_in_python() is None
  assert re_write_sql_in_python() is None
output: import sqlite3
  
  def re_write_sql_in_python():
      conn = sqlite3.connect('movies.db')
      cursor = conn.cursor()
      cursor.execute("SELECT * FROM Movies WHERE category = 'horror'")
      rows = cursor.fetchall()
      if rows:
          for row in rows:
              print(row)
      else:
          print("No results found.")
      conn.close()