单位转换器
将数值从一个单位转换为另一个单位。支持长度、重量、温度、容量、面积、数据、时间7大类。
用法
python3 scripts/unit_converter.py <值> <源单位> <目标单位>
示例
python3 scripts/unit_converter.py 100 km mi→ 62.1371英里python3 scripts/unit_converter.py 37 c f→ 98.6华氏度python3 scripts/unit_converter.py 10 kg lb→ 22.0462磅python3 scripts/unit_converter.py 1 hectare mu→ 15亩