Python obtient toutes les variables en classe

vars = [attr for attr in dir(dino) if not callable(getattr(dino, attr)) and not attr.startswith("__")]
         
for v in vars:
	print("{0} = {1}".format(v,getattr(dino, v)))
JulesG10