My code:

```
hello = ['hi',]  
i=input("> ")
if i==hello:
    print("hi")
else:
    print("no")

```

I wanted to do this for making a text-based game, so the user can enter almost anything similar to what is needed to move on; it does not have to be a list or a dictionary, just something that would work.