LLD - Design — Library Management System
In the following code snippet, what is the bug?
if not book_id:
delete book
return 'Deleted'
else:
return 'Book ID missing'