![](https://www.universetoday.com/wp-content/uploads/2022/08/tension-1024x512.jpg)
Measure Distance
<section class="prog__container"><p>To initialize a distance object, pass in a keyword corresponding to the desired unit attribute name set with desired value. For example, the following creates a distance object representing 5 miles:</p><pre><code> class Distance(**kwargs)</code></pre></section>