Scaling a number between a certain range to that of another in python

后端 未结 0 590
误落风尘
误落风尘 2020-12-20 14:54

Is there a method by which a number between the range of lets say (a, b) can be scaled to a different range of lets say (p, q)?

In my case, I have a number between in

相关标签:
回答
  • 消灭零回复
提交回复
热议问题