Skip to content

Commit 1fe0ca8

Browse files
m41b3cm41b3c
authored andcommitted
Criado atributo de classe.
1 parent 1c4b86d commit 1fe0ca8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

OO/pessoa.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ def cumprimentar(self):
3636

3737
print(Pessoa.olhos)
3838
print(jacir.olhos)
39+
jacir.olhos = 3
40+
print(jacir.__dict__)
3941

4042

4143

0 commit comments

Comments
 (0)