LLD - Design — Hotel Booking System
What is wrong with this availability check snippet?
availability = {"slot1": True}
if availability.get("slot1") == True:
print("Available")
else:
print("Not Available")