When someone actually opens the gate, whether by entering the code or let in by the tennants, the tennants don't know if they gate was actually opened.
We can addfuntionality to the program that send a message when the gate has been opened by either one of the tennants or by the code. Adding a list of codes for different guests can also allow the program to tell the tennants exactly who is opening the gate.
Integrated a dictionary of tenants and their numbers which allows the program to compare the incoming number to a name. This lets us know who said yes.
When someone actually opens the gate, whether by entering the code or let in by the tennants, the tennants don't know if they gate was actually opened.
We can addfuntionality to the program that send a message when the gate has been opened by either one of the tennants or by the code. Adding a list of codes for different guests can also allow the program to tell the tennants exactly who is opening the gate.