How to convert String into Float?
<p>I'm required to covert the variable:</p>

<pre><code>pi_string = "3.1415926"
</code></pre>

<p>into a float. Here's what I'm dealing with:</p>

<p><img src="https://i.stack.imgur.com/ykumQ.png" alt="screenshot"></p>