 class="n">value</span>
<span class="p">[</span><span class="n">out</span><span class="p">]</span> <span class="mf">4.572</span> <span class="n">meter</span>
</pre></div>
</div>
<p>You can get magnitude with the <strong>magnitude</strong> method and units with the <strong>units</strong> method.  Or you can get them with the PINT methods:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">io</span><span class="p">[</span><span class="s1">&#39;input.number(