Puzzled about a code line

Delta_G:
You're just a little off there. Your variables are scoped to the if block so they cease to exist right after they're created. Kind of useless like that.

You are right. I updated my code.