Computer Science

Which module is required to use the built-in function dump()?

  1. math
  2. flush
  3. pickle
  4. unpickle

Python Data Handling

3 Likes

Answer

pickle

Reason — The dump() function is part of the pickle module in Python. Therefore, to use the dump() function, we need to import the pickle module.

Answered By

3 Likes


Related Questions