books = [
{"nome": "1984", "estoque": 5},
{"nome": "Dom Casmurro", "estoque": 0},
{"nome": "O Pequeno Príncipe", "estoque": 3},
{"nome": "O Hobbit", "estoque": 0},
{"nome": "Orgulho e Preconceito", "estoque": 2}
]
def show_available_books(books):
for book in books:
if book["estoque"] <= 0:
continue
print(f"Livro disponível: {book['nome']}")
show_available_books(books)