This question already has an answer here:
- How to randomly select an item from a list? 13 answers
I'm in need of some help. Here we have my two lists:
wordlists1 = ["hot","summer", "hard", "dry", "heavy", "light", "weak", "male",
"sad", "win", "small","ignore", "buy", "succeed", "reject", "prevent", "exclude"]
wordlists2 = ["cold", "winter", "soft", "wet", "light", "darkness", "strong", "female", "happy", "lose", "big",
"pay attention", "sell", "fail", "accept", "allow", "include"]
Okay, so many people are misunderstanding me, so I have these two lists, I use the random.choice to pick a word from each lists, once we have those words, I needed them to be printed out as a question such as, if hot and weak are selected, then it would be displayed as, "Hot is to cold as weak is to___?" I really need help on this, and detailed steps would be appreciated.