2Cents Capital interview question

How to write smart pointer in python?