def rendre_livre(bibliotheque, identifiant):
if identifiant in bibliotheque:
bibliotheque[identifiant]['copies_disponibles'] += 1
print(f"Livre rendu: {bibliotheque[identifiant]['titre']}")
else:
print("Identifiant de livre invalide.")
def verifier_disponibilite(bibliotheque, identifiant):
if identifiant in bibliotheque:
print(f"Copies disponibles pour '{bibliotheque[identifiant]['titre']}': {bibliotheque[identifiant]['copies_disponibles']}")
else:
print("Identifiant de livre invalide.")