Which type?

Report a typo

Write the body of the retrieve_datatype() function that takes a file path, opens it, reads the pickled file, and returns the data type of the Python object that was unpickled from this file.

You do NOT need to call the function or take any input.

Write a program in Python 3
import pickle


def retrieve_datatype(...):
pass
___

Create a free account to access the full topic