Computer Science

Which command is used for cleaning up the environment?

  1. my.closed()
  2. is.end()
  3. con.quit()
  4. mycon.close()

Python MySQL

1 Like

Answer

mycon.close()

Reason — The mycon.close() command is used for cleaning up the environment by closing the database connection.

Answered By

1 Like


Related Questions