Canonical interview question

What is the difference between the type() and isinstance() functions in python