Created
October 8, 2023 00:32
-
-
Save arthurd2/0d7575998a80a4a3a0b928495654ae96 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def printd( o ): | |
| for atributo in dir(o): | |
| valor = getattr(o, atributo) | |
| tipo = type(valor) | |
| print(f"Atributo: {atributo}, Valor: {valor}, Tipo: {tipo}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment