title: How to generate random questions and corresponding answers for quiz game?
body: <p>I'm making a quiz game and i want questions to be randomly generated. The problem is i dont know how to make corresponding answers to questions and how to make them not to repeat. Also problem is that i get columns by index in in the answers</p>
  <pre><code>questions = [(&quot;Was Einshtein a genius?&quot;, &quot;B&quot;), (&quot;How old is Putin?&quot;, &quot;C&quot;), (&quot;What is my favourite dish?&quot;, &quot;D&quot;),
   (&quot;Why i broke up with my girl?&quot;, &quot;A&quot; )]
  
   answers =   [[&quot;A. He is a fool&quot;, &quot;B. Definetly&quot;, &quot;C. He's stupid&quot;, &quot;D. He's a gay&quot;],
    [&quot;A. 65&quot;, &quot;B. 48&quot;, &quot;C. 69&quot;, &quot;D. 61&quot;],
    [&quot;A. Pizza&quot;, &quot;B. KFC Chicken&quot;, &quot;C. Big tasty&quot;, &quot;D. Lazania&quot;],
    [&quot;A. She cheated on me&quot;, &quot;B. She stole my phone&quot;, &quot;C. She broke my phone&quot;, &quot;D. She broke ,y heart&quot;]]
  
  ques_ran = random.randint(0,3)
  for i in questions:
      print(questions[ques_ran])
      for key in answers:
          print(key[ques_ran])
      b = input('Enter an asnwer ')
  </code></pre>
  <p>I expect that each of these four questions with corresponding answers will display randomly and they won't repeat(there should be all 4 present questions with answers displaying for 4 iterations, one question on one iteration)</p>