Is it possible to use list?
In the case you can just try something like this
import random mylist = ["Dialogue1", "Dialogue2"] print(random.choice(mylist))