Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mariana Pires - Exercício S08 #14

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

mariprs
Copy link

@mariprs mariprs commented Sep 27, 2023

Segundo projeto guiado em que utilizei conceitos de testing e POO vistos previamente.

Copy link
Collaborator

@mayaracsferreira mayaracsferreira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mariana, parabéns!!
Arrasou demais, mostrou muito dominio sobre o código e a ferramenta. Foi além na implementação dos testes, usou recursos da linguagem como list comprehension!
Arrasou demais!

self.livros.append(livro) #Caso o valor seja válido, add o livro à lista self.livros

def exibir_livros(self): #Função que retorna a lista
# return [livro.nome for livro in self.livros] << isso exibiria apenas os nomes
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bacana demais que usou list comprehension

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants