A mass on a spring is first placed on a table and set in SHM and then held vertically and set in SHM. What variable/s would change between the two scenarios?

The variable that changes is the period of the motion.
The term simple harmonic motion refers to a regular repeating motion. The acceleration of the SHM is always directed towards the center. The spring is an example of a system undergoing simple harmonic motion.
From the description in the question, the variable that changes is the period of the motion.
Learn more about simple harmonic motion: https://brainly.com/question/17315536