-1
Hello guys I’m having a question about multiple attributes of functions or methods through the function input
.
For example:
class Pessoa():
def __init__(self, nome, idade):
self.nome = nome
self.idade = idade
From this code how I assign attributes to functions inputs
?
I do individually asking one at a time the user?
Thanks in advance!
In my question Anderson’s answer can help you and show you a different and better way to do it: https://answall.com/questions/395183/show-um-dicionario-dentro-de-uma-classe-criado-por-umafun%C3%A7%C3%a3o-external
– pydoni