type(), isinstance() pour obtenir et déterminer le type en Python https://fr.from-locals.com/python-type-isinstance/