Do slow walking and fast walking achieve the same sports effect?

In the same period of time, the time for walking slowly and walking fast should be different. For example, an hour's fast walking consumes more calories than an hour's slow walking. Generally speaking, if you want to lose weight, walk fast and slow, and the effect will be the best.