How do I set a function parameter as a string in python?
<pre><code>def count(string,letter):
    count=0
    for each in string:
        if each==letter:
            count=count+1
    print count
</code></pre>

<p>is there a way to set the parameters to automatically accept the inputs as strings so the user doesn't have to add the quotations?</p>