我如何随机选择一个类对象? (蟒蛇)

我正在创建一个测验,用户从中选择(对于本示例来说)两个主题。每个主题有3个问题。

我创建了以下代码:

import random

chosenTopic = "topic1"

class multiQuestions:

    def __init__(self, questionPath, answer):
        self.questionPath = questionPath
        self.answer = answer

multiTopic1Q1 = multiQuestions("questionPath1", "C")  #the chosen topic variable is topic1 so i would like it to randomly choose from one of these three questions from topic 1
multiTopic1Q2 = multiQuestions("questionPath2", "B")
multiTopic1Q3 = multiQuestions("questionPath3", "B")

multiTopic2Q1 = multiQuestions("questionPath4", "C")
multiTopic2Q2 = multiQuestions("questionPath5", "B")
multiTopic1Q3 = multiQuestions("questionPath6", "B")

在实际的代码中,selectedTopic变量由用户设置,但在本示例中,我将其设置为主题1。主题1的问题全部分组在一起(“ multiTopic1Q ...”)。

我将如何随机选择三个类对象之一并打印其questionPath,然后打印另一个对象questionPath,直到所有三个questionPaths以随机顺序打印。