input: Write a python function to fetch all rows from a MySQL database table and print them.
  assert fetch_and_print_rows() == [(1, 'John', 'Doe'), (2, 'Jane', 'Smith'), (3, 'Mike', 'Johnson')]
  assert fetch_and_print_rows() == []
output: def fetch_and_print_rows():
      import mysql.connector
  
      conn = mysql.connector.connect(
          host="localhost",
          user="yourusername",
          password="yourpassword",
          database="yourdatabase"
      )
      
      cursor = conn.cursor()
      cursor.execute("SELECT * FROM yourtable")
      
      rows = cursor.fetchall()
      for row in rows:
          print(row)
      
      cursor.close()
      conn.close()
      
      return rows