Hello everyone. I was also confused as to why low_limit and high_limit were abbreviated with low and high when we printed the equation.
I decided to change the abbreviation to something else. Bob for low_limit and Mary for high_limit. I printed and got the same output of 120 and 80.
This was my syntax:
def get_boundaries(target, margin):
low_limit = target - margin
high_limit = margin + target
return low_limit, high_limit
bob, mary = get_boundaries(100, 20)
This made me conclude that the abbreviation (or variable of the variable) is defined by the position within the commas of:
bob (1st position), mary (second position) = get_boundaries(100, 20)
in comparison to the position of the variables low_limit, high_limit within the return line:
return low_limit (1st position), high_limit (2nd position)
Hope this helps!