When revisiting a room after leaving, the log only records the room visit once, regardless of how many times the room is re-entered. This behaviour suggests the system is not maintaining an accurate record of multiple visits to the same room.
Ideally, the behaviour should align with the example provided in the Examples.md file shared by the Sir.
This is how the code is working.
I have used the same commands provided by the sir, but the output differs.
When revisiting a room after leaving, the log only records the room visit once, regardless of how many times the room is re-entered. This behaviour suggests the system is not maintaining an accurate record of multiple visits to the same room.
Ideally, the behaviour should align with the example provided in the
Examples.md
file shared by the Sir.This is how the code is working.
I have used the same commands provided by the sir, but the output differs.