Simple python class not working
<p>I'm having some trouble with this class in Python, why is it not working?</p>

<pre><code>class Quiz:
    def __init__(self, answer, question):
        self.answer = answer
        self.question = question

    def yesno(self):
        if self.answer == self.question:
        return str("Correct!")
    else:
        return str("Wrong!")

print("Time for a quiz.")

print("What is ((((6^2 * 10) + sqrt((5000*3) - 600)) / 4! ) * 4 ) - log(1 * 10^11)?")
userAnswer = int(input())
question1 = Quiz(userAnswer, 69)
Quiz.yesno()
</code></pre>

<p><code>question1.yesno()</code> would work. </p>

<p>The <code>yesno()</code> is a method which can be called by the object of the class. If it had been a static method, <code>Quiz.yesno()</code> would have worked.</p>

python