I want to create a text adventure, and you know how in text adventures you get a description of the scene the first time and after that, it only gives you the room's name? I'm using Python and I want to find a way to check if a variable had previously been assigned that same value. For example:
room = "kitchen" #False
room = "living room" #False
room = "kitchen" #True
room = "living room" #True
room = "dungeon" #False
True means the variable had previously been assigned that same value, and I want to find out how to generate a True or False value based on whether that value is "familiar" with the variable.