The code sequence modifies my_var using three operations:
- Subtracting 5 from the current value of my_var.
- Dividing the updated value of my_var by 2.
- Multiplying the resulting value by 4.
What would be the final value?
The final value of my_var depends on its initial value.
Without knowing the starting value of my_var, it's impossible to determine its final value solely based on the sequence of operations provided: my_var -= 5, my_var /= 2, my_var *= 4.