Skip to content

Commit a35eae4

Browse files
committed
Correção atributo idade
1 parent 78a7ead commit a35eae4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

oo/pessoa.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
class Pessoa:
22
def __init__(self, nome=None, idade=47):
33
self.nome = nome
4+
self.idade = idade
45

56
def cumprimentar(self):
67
return f'Olá {id(self)}'

0 commit comments

Comments
 (0)