Python - Ignore letter case
<p>I have an if statement: </p>

<pre><code>rules = input ("Would you like to read the instructions? ")
rulesa = "Yes"
if rules == rulesa:
    print  ("No cheating")
else: print ("Have fun!")
</code></pre>

<p>I wish for the user to be able to answer with Yes, YES, yES, yes or any other capitalisation, and for the code to know that they mean Yes. </p>