Need help with basic function - Python
<p>want to count the number of times a letter appears in a string, having issues here. any help</p>

<pre><code>def countLetters(string, character):
    count = 0
    for character in string:
        if character == character:
            count = count + 1
    print count
</code></pre>
