結果 : scope of variable in if statement python