Python code looks sloppy but seems correct
<p><strong>The Question</strong></p>

<p>The first parameter is the current score, the second is the number of occurrences of a letter in the puzzle, and the third indicates whether that letter is a CONSONANT or VOWEL. Return the new score by adding one point per occurrence of the letter to the original score if the letter is a consonant, or by deducting the VOWEL_PRICE from the score if the letter is a vowel.</p>

<p><strong>My Answer</strong></p>

<p>From that question I wrote this code:</p>

<pre><code>def calculate_score(current_score, letter_occurence, letter):
    if letter == CONSONANT:
        return letter_occurence + current_score
    elif VOWEL:
        return current_score - VOWEL_PRICE
</code></pre>

<p>It seems to be working how i want it to, but it also looks sloppy to me. Are there any problems anyone can see?</p>
