>
For most people I'd recommend exercise instead of fasting.A lot of what I've read over the past few years suggests that exercise won't help you lose weight[0]. It's great for general health, but exercise without some kind of diet modification generally won't do all that much for your weight.
This tracks with my experience, at least. In early 2016 my doc told me I needed to get some exercise. At the time I was doing nothing more than walking to and from work (60 mins total). I started running, and worked up to around 10 miles per week. I'd already been more or less been doing IF for a while (without realizing it; I was just never hungry when I woke up), eating lunch at noon and dinner at 7pm, or just a single mid-afternoon meal around 3pm.
I didn't start actually losing weight until 2 years later, when I started calorie counting and attempting to limit my intake to around 1500 per day (I wasn't always successful). It was still difficult; I only lost 6 or 7 lbs, and it took nearly a year to do that.
That turned out to be hard to maintain; I stopped counting calories, and by late 2019 I'd put those lbs back on and probably a couple more, even with IF in place.
With COVID-19, I've been cooking 6 days a week, so that's meant less oil/butter, nothing fried, but still a good amount of carbs. My running has dropped to 4-6 miles a week. But in less than three months, I've lost 15 lbs. The only thing that actually worked was changing my diet. Once things go back to normal and I'm going out to restaurants again, I fully expect I'll put that weight back on.
[0] E.g. https://www.vox.com/2016/4/28/11518804/weight-loss-exercise-...