How can I remove the single quotes from a string and use it for division in Python?
<p>How can I remove <code>'</code> from the string <code>'/'</code> and use it for division in Python?</p>

<p>For example:</p>

<pre><code>a='/'
b=6
c=3

bac
</code></pre>

<p>The answer should be 2.</p>
