Create Yard and Mile Unit Conversion

The following code is written in Python. Put in a value and have it conversion.