Python Vérifiez si le type
if isinstance(o, str):
Eager Echidna
if isinstance(o, str):
test = "This is a string"
print(type(test))