I know this article is about a study of genetic predisposition to obesity, but thought it still might be of interest to some on this forum. Some here have gained weight due to medications and others have metabolic health issues so this may be of interest.
Six specific exercises found to curb weight gain despite obesity genes
https://www.slashgear.com/six-specific-exercises-found-to-curb-weight-gain-despite-obesity-genes-01585977/