Task: Implement a Range Mapping Function in Python
Task: Implement a Range Mapping Function in Python: a task in Terminal-Lego-15k (Harbor dataset). Create a Python function that maps (translates) a value from one range to another range. This is a common need when working with hardware sensors and actuators that operate on different value ranges.
Part of PrimeIntellect/Terminal-Lego-15k.